Cross-platform library for retrieving information on running processes and system utilization (CPU, memory, disks, network) in Python.
psutil (process and system utilities) is a cross-platform library for retrieving information on running processes and system utilization (CPU, memory, disks, network) in Python.
It is useful mainly for system monitoring, profiling and limiting process resources and management of running processes.
It implements many functionalities offered by command line tools such as:
It currently supports Linux, Windows, OSX, Sun Solaris, FreeBSD, OpenBSD and NetBSD, both 32-bit and 64-bit architectures, with Python versions from 2.6 to 3.5
This is a really cool library and allows to do a ton of things, « a must have » if you want to write some apps that are related to system administration.