psutil, process and system utilities for Python
Article excerpt
psutil is a cross-platform library for retrieving information about running processes and system utilization (CPU, memory, disks, network, sensors) in Python. It is useful mainly for system monitoring, profiling, limiting process resources, and managing running processes.
It implements many functionalities offered by UNIX command line tool such as ps, top, free, iotop, netstat, ifconfig, lsof and others (see shell equivalents). psutil supports the following platforms:
Linux
Windows
macOS
FreeBSD, OpenBSD, NetBSD
Sun Solaris
AIX
Adoption
psutil is among the top 100 most-downloaded packages on PyPI, with 340+ million downloads per month, 770,000+ GitHub repositories using it, and 16,000+ packages depending on it.
See more on GitHub.