psutil
Cross-platform lib for process and system monitoring in Python
psutil is a widely adopted cross-platform Python library designed to retrieve detailed information about system utilization and running processes in a consistent and programmatic way. It exposes a rich API that allows developers to inspect CPU usage, memory consumption, disk activity, network statistics, and hardware sensors without relying on platform-specific tools. The library effectively replicates and unifies the capabilities of classic UNIX utilities such as ps, top, netstat, and free, making it especially valuable for monitoring, profiling, and process management workflows. ...