psutil v5.4.7 Release Notes

Release Date: 2018-08-14 // over 5 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]: Process.connections()_ may sometime fail with MemoryError. (patch by sylvainduchesne)
    • ๐Ÿง 1305_, [Linux]: disk_io_counters()_ 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 values due to counting base disk device and its partition(s) twice.
    • ๐Ÿง 1323_, [Linux]: sensors_temperatures()_ may fail with ValueError.