2018年08月14日
✨ Enhancements
psutil.OSX constant is now deprecated in favor of new
psutil.MACOS.psutil.STATUS_PARKED constant for Process.status()_.disk_io_counters()_ dual implementation relying on
/sys/block filesystem in case /proc/diskstats is not available.
(patch by Lawrence Ye)🐛 Bug fixes
Process.memory_maps()_ may fail with EINVAL due to poor
task_for_pid() syscall. AccessDenied_ is now raised instead.Process.threads()_ incorrectly return microseconds instead of
seconds. (patch by Nikhil Marathe)net_if_stats()_ may return ENODEV.Process.connections()_ may sometime fail with
MemoryError. (patch by sylvainduchesne)disk_io_counters()_ may report inflated r/w bytes values.Process.status()_ is unable to recognize "idle" and
"parked" statuses (returns "?").disk_io_counters()_ can report inflated values due to
counting base disk device and its partition(s) twice.sensors_temperatures()_ may fail with ValueError.