Hello all,
I'm glad to announce the release of psutil 5.4.8:
https://github.com/giampaolo/psutil
About
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.
What's new
2018-10-30
Enhancements
- #1197: [Linux] cpu_freq() is now implemented by parsing /proc/cpuinfo in
case
/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)
Bug fixes
- #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
are
not accurate.
- #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
with
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
Shevchuk)
Links
--
Giampaolo - http://grodola.blogspot.com