A new official Swift package just dropped for process-level monitoring. Track CPU utilization, memory usage, and more - all with a unified API that works on both Linux and macOS.
🔗: https://www.swift.org/blog/swift-system-metrics-1.0-released/ by Vladimir Kukushkin (@kukushechkin)

Announcing Swift System Metrics 1.0: Process-Level Monitoring
We are excited to announce the 1.0 release of Swift System Metrics, a Swift package that collects process-level system metrics like CPU utilization time and memory usage. Swift System Metrics runs on both Linux and macOS, providing a common API across platforms.