I'm glad to announce the release of psutil 5.5.0:
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, macOS, Sun Solaris, FreeBSD, OpenBSD,
NetBSD and AIX, both 32-bit and 64-bit architectures, with Python versions
from 2.6 to 3.6. PyPy is also known to work.
- #1350: [FreeBSD] added support for sensors_temperatures(). (patch by Alex
- #1352: [FreeBSD] added support for CPU frequency. (patch by Alex
- #1111: Process.oneshot() is now thread safe.
- #1354: [Linux] disk_io_counters() fails on Linux kernel 4.18+.
- #1357: [Linux] Process' memory_maps() and io_counters() method are no
exposed if not supported by the kernel.
- #1368: [Windows] fix psutil.Process().ionice(...) mismatch. (patch by
- #1370: [Windows] improper usage of CloseHandle() may lead to override the
original error code when raising an exception.
- #1373: incorrect handling of cache in Process.oneshot() context causes
Process instances to return incorrect results.
- #1376: [Windows] OpenProcess() now uses PROCESS_QUERY_LIMITED_INFORMATION
access rights wherever possible, resulting in less AccessDenied exceptions
being thrown for system processes.
- #1376: [Windows] check if variable is NULL before free()ing it. (patch by
Giampaolo - http://grodola.blogspot.com