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: ps, top, lsof, netstat, ifconfig, who, df, kill, free,
nice, ionice, iostat, iotop, uptime, pidof, tty, taskset, pmap. 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 (users of Python 2.4 and 2.5 may use 2.1.3 version). PyPy is also
known to work.
- #1123: [AIX] added support for AIX platform. (patch by Arnon Yaari)
- #1009: [Linux] sensors_temperatures() may crash with IOError.
- #1012: [Windows] disk_io_counters()'s read_time and write_time were
in tens of micro seconds instead of milliseconds.
- #1127: [OSX] invalid reference counting in Process.open_files() may lead
segfault. (patch by Jakub Bacic)
- #1129: [Linux] sensors_fans() may crash with IOError. (patch by Sebastian
- #1131: [SunOS] fix compilation warnings. (patch by Arnon Yaari)
- #1133: [Windows] can't compile on newer versions of Visual Studio 2017
(patch by Max Bélanger)
- #1138: [Linux] can't compile on CentOS 5.0 and RedHat 5.0.
(patch by Prodesire)