All Versions
87
Latest Version
Avg Release Cycle
46 days
Latest Release
-

Changelog History
Page 3

  • v5.4.8 Changes

    October 30, 2018

    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]: 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 (virtual_memory()_) metrics are not accurate.
    • 🏁 1294_, [Windows]: 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 (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)
  • v5.4.7 Changes

    August 14, 2018

    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.
  • v5.4.6 Changes

    June 07, 2018

    2018-06-07

    πŸ› Bug fixes

    • 🏁 1258_, [Windows], [critical]: Process.username()_ may cause a segfault (Python interpreter crash). (patch by Jean-Luc Migot)
    • 1273_: net_if_addrs()_ namedtuple's name has been renamed from snic to snicaddr.
    • 🐧 1274_, [Linux]: there was a small chance Process.children()_ may swallow AccessDenied_ exceptions.
  • v5.4.5 Changes

    April 13, 2018

    2018-04-14

    πŸ› Bug fixes

    • 1268_: setup.py's extra_require parameter requires latest setuptools version, breaking quite a lot of installations.
  • v5.4.4 Changes

    2018-04-13

    ✨ Enhancements

    • 🐧 1239_, [Linux]: expose kernel slab memory field for virtual_memory()_. (patch by Maxime Mouial)

    πŸ› Bug fixes

    • 694_, [SunOS]: Process.cmdline()_ could be truncated at the 15th character when reading it from /proc. An extra effort is made by reading it from process address space first. (patch by Georg Sauthoff)
    • 🏁 771_, [Windows]: cpu_count()_ (both logical and cores) return a wrong (smaller) number on systems using process groups (> 64 cores).
    • 🏁 771_, [Windows]: cpu_times()_ with percpu=True return fewer CPUs on systems using process groups (> 64 cores).
    • 🏁 771_, [Windows]: cpu_stats()_ and cpu_freq()_ may return incorrect results on systems using process groups (> 64 cores).
    • 1193_, [SunOS]: return uid/gid from /proc/pid/psinfo if there aren't enough permissions for /proc/pid/cred. (patch by Georg Sauthoff)
    • 1194_, [SunOS]: return nice value from psinfo as getpriority() doesn't support real-time processes. (patch by Georg Sauthoff)
    • πŸ†“ 1194_, [SunOS]: fix double free() in Process.cpu_num()_. (patch by Georg Sauthoff)
    • 1194_, [SunOS]: fix undefined behavior related to strict-aliasing rules and warnings. (patch by Georg Sauthoff)
    • 🐧 1210_, [Linux]: cpu_percent()_ steal time may remain stuck at 100% due to Linux erroneously reporting a decreased steal time between calls. (patch by Arnon Yaari)
    • 🏁 1216_: fix compatibility with Python 2.6 on Windows (patch by Dan Vinakovsky)
    • 🐧 1222_, [Linux]: Process.memory_full_info()_ was erroneously summing "Swap:" and "SwapPss:". Same for "Pss:" and "SwapPss". Not anymore.
    • 🏁 1224_, [Windows]: Process.wait()_ may erroneously raise TimeoutExpired_.
    • 🐧 1238_, [Linux]: sensors_battery()_ may return None in case battery is not listed as "BAT0" under /sys/class/power_supply.
    • 🏁 1240_, [Windows]: cpu_times()_ float loses accuracy in a long running system. (patch by stswandering)
    • 🐧 1245_, [Linux]: sensors_temperatures()_ may fail with IOError "no such file".
    • 1255_, [FreeBSD]: swap_memory()_ stats were erroneously represented in KB. (patch by Denis KrienbΓΌhl)

    Backward compatibility

    • 🏁 771_, [Windows]: cpu_count()_ with logical=False on Windows XP and Vista is no longer supported and returns None.
  • v5.4.3 Changes

    2018-01-01

    ✨ Enhancements

    • 775_: disk_partitions()_ on Windows return mount points.

    πŸ› Bug fixes

    • 1193_: pids()_ may return False on macOS.
  • v5.4.2 Changes

    2017-12-07

    ✨ Enhancements

    • 1173_: introduced PSUTIL_DEBUG environment variable which can be set in order to print useful debug messages on stderr (useful in case of nasty errors).
    • 🍎 1177_, [macOS]: added support for sensors_battery()_. (patch by Arnon Yaari)
    • 1183_: Process.children()_ is 2x faster on POSIX and 2.4x faster on Linux.
    • πŸ—„ 1188_: deprecated method Process.memory_info_ex()_ now warns by using FutureWarning instead of DeprecationWarning.

    πŸ› Bug fixes

    • 🏁 1152_, [Windows]: disk_io_counters()_ may return an empty dict.
    • 🐧 1169_, [Linux]: users()_ hostname returns username instead. (patch by janderbrain)
    • 🏁 1172_, [Windows]: make test does not work.
    • 🐧 1179_, [Linux]: Process.cmdline()_ is now able to split cmdline args for misbehaving processes which overwrite /proc/pid/cmdline and use spaces instead of null bytes as args separator.
    • 🍎 1181_, [macOS]: Process.memory_maps()_ may raise ENOENT.
    • 🍎 1187_, [macOS]: pids()_ does not return PID 0 on recent macOS versions.
  • v5.4.1 Changes

    2017-11-08

    ✨ Enhancements

    • πŸ‘ 1164_, [AIX]: add support for Process.num_ctx_switches()_. (patch by Arnon Yaari)
    • πŸ‘ 1053_: drop Python 3.3 support (psutil still works but it's no longer tested).

    πŸ› Bug fixes

    • 🏁 1150_, [Windows]: when a process is terminated now the exit code is set to SIGTERM instead of 0. (patch by Akos Kiss)
    • βœ… 1151_: python -m psutil.tests fail.
    • 1154_, [AIX], [critical]: psutil won't compile on AIX 6.1.0. (patch by Arnon Yaari)
    • 🏁 1167_, [Windows]: net_io_counters()_ packets count now include also non-unicast packets. (patch by Matthew Long)
  • v5.4.0 Changes

    2017-10-12

    ✨ Enhancements

    • πŸ‘ 1123_, [AIX]: added support for AIX platform. (patch by Arnon Yaari)

    πŸ› Bug fixes

    • 🐧 1009_, [Linux]: sensors_temperatures()_ may crash with IOError.
    • 🏁 1012_, [Windows]: disk_io_counters()_ read_time and write_time were expressed in tens of micro seconds instead of milliseconds.
    • 🍎 1127_, [macOS], [critical]: invalid reference counting in Process.open_files()_ may lead to segfault. (patch by Jakub Bacic)
    • 🐧 1129_, [Linux]: sensors_fans()_ may crash with IOError. (patch by Sebastian Saip)
    • ⚠ 1131_, [SunOS]: fix compilation warnings. (patch by Arnon Yaari)
    • 🏁 1133_, [Windows]: can't compile on newer versions of Visual Studio 2017 15.4. (patch by Max BΓ©langer)
    • 🐧 1138_, [Linux]: can't compile on CentOS 5.0 and RedHat 5.0. (patch by Prodesire)
  • v5.3.1 Changes

    2017-09-10

    ✨ Enhancements

    πŸ› Bug fixes

    • 1105_, [FreeBSD]: psutil does not compile on FreeBSD 12.
    • 1125_, [BSD]: net_connections()_ raises TypeError.

    Compatibility notes

    • 🏁 1120_: .exe files for Windows are no longer uploaded on PyPI as per PEP-527. Only wheels are provided.