psutil v5.4.7 Release Notes

Release Date: 2018-08-14 // over 3 years ago
  • 2018-08-14

    โœจ Enhancements

    • ๐ŸŽ 1286_: [macOS] psutil.OSX constant is now deprecated in favor of new psutil.MACOS.
    • ๐Ÿง 1309_: [Linux] added psutil.STATUS_PARKED constant for Process.status().
    • ๐Ÿง 1321_: [Linux] add disk_io_counters() dual implementation relying on /sys/block filesystem in case /proc/diskstats is not available. (patch by Lawrence Ye)

    ๐Ÿ› Bug fixes

    • ๐ŸŽ 1209_: [macOS] Process.memory_maps() may fail with EINVAL due to poor task_for_pid() syscall. AccessDenied is now raised instead.
    • ๐ŸŽ 1278_: [macOS] Process.threads() incorrectly return microseconds instead of seconds. (patch by Nikhil Marathe)
    • ๐ŸŽ 1279_: [Linux, macOS, BSD] net_if_stats() may return ENODEV.
    • ๐Ÿ 1294_: [Windows] psutil.Process().connections() may sometime fail with MemoryError. (patch by sylvainduchesne)
    • ๐Ÿง 1305_: [Linux] disk_io_stats() may report inflated r/w bytes values.
    • ๐Ÿง 1309_: [Linux] Process.status() is unable to recognize "idle" and "parked" statuses (returns '?').
    • ๐Ÿง 1313_: [Linux] disk_io_counters() can report inflated IO counters due to erroneously counting base disk device and its partition(s) twice.
    • ๐Ÿง 1323_: [Linux] sensors_temperatures() may fail with ValueError.