I'm glad to announce the release of psutil 5.4.8:
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.
- #1197: [Linux] cpu_freq() is now implemented by parsing /proc/cpuinfo in
/sys/devices/system/cpu/* filesystem is not available.
- #1310: [Linux] psutil.sensors_temperatures() now parses /sys/class/thermal
in case /sys/class/hwmon fs is not available (e.g. Raspberry Pi). (patch
by Alex Manuskin)
- #1320: [Posix] better compilation support when using g++ instead of gcc.
(patch by Jaime Fullaondo)
- #715: do not print exception on import time in case cpu_times() fails.
- #1004: [Linux] Process.io_counters() may raise ValueError.
- #1277: [OSX] available and used memory (psutil.virtual_memory()) metrics
- #1294: [Windows] psutil.Process().connections() may sometimes fail with
intermittent 0xC0000001. (patch by Sylvain Duchesne)
- #1307: [Linux] disk_partitions() does not honour PROCFS_PATH.
- #1320: [AIX] system CPU times (psutil.cpu_times()) were being reported
ticks unit as opposed to seconds. (patch by Jaime Fullaondo)
- #1332: [OSX] psutil debug messages are erroneously printed all the time.
(patch by Ilya Yanok)
- #1346: [SunOS] net_connections() returns an empty list. (patch by Oleksii
Giampaolo - http://grodola.blogspot.com