All Versions
87
Latest Version
Avg Release Cycle
46 days
Latest Release
-
Changelog History
Page 3
Changelog History
Page 3
-
v5.4.8 Changes
October 30, 20182018-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 raiseValueError
. - 1277_, [OSX]: available and used memory (
virtual_memory()
_) metrics are not accurate. - π 1294_, [Windows]:
Process.connections()
_ may sometimes fail with intermittent0xC0000001
. (patch by Sylvain Duchesne) - π§ 1307_, [Linux]:
disk_partitions()
_ does not honourPROCFS_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)
- π§ 1197_, [Linux]:
-
v5.4.7 Changes
August 14, 20182018-08-14
β¨ Enhancements
- π 1286_, [macOS]:
psutil.OSX
constant is now deprecated in favor of newpsutil.MACOS
. - π§ 1309_, [Linux]: added
psutil.STATUS_PARKED
constant forProcess.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 withEINVAL
due to poortask_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 returnENODEV
. - π 1294_, [Windows]:
Process.connections()
_ may sometime fail withMemoryError
. (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 withValueError
.
- π 1286_, [macOS]:
-
v5.4.6 Changes
June 07, 20182018-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 fromsnic
tosnicaddr
. - π§ 1274_, [Linux]: there was a small chance
Process.children()
_ may swallowAccessDenied
_ exceptions.
- π 1258_, [Windows], [critical]:
-
v5.4.5 Changes
April 13, 20182018-04-14
π Bug fixes
- 1268_: setup.py's
extra_require
parameter requires latest setuptools version, breaking quite a lot of installations.
- 1268_: setup.py's
-
v5.4.4 Changes
2018-04-13
β¨ Enhancements
- π§ 1239_, [Linux]: expose kernel
slab
memory field forvirtual_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()
_ withpercpu=True
return fewer CPUs on systems using process groups (> 64 cores). - π 771_, [Windows]:
cpu_stats()
_ andcpu_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
asgetpriority()
doesn't support real-time processes. (patch by Georg Sauthoff) - π 1194_, [SunOS]: fix double
free()
inProcess.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 raiseTimeoutExpired
_. - π§ 1238_, [Linux]:
sensors_battery()
_ may returnNone
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 withIOError
"no such file". - 1255_, [FreeBSD]:
swap_memory()
_ stats were erroneously represented in KB. (patch by Denis KrienbΓΌhl)
Backward compatibility
- π 771_, [Windows]:
cpu_count()
_ withlogical=False
on Windows XP and Vista is no longer supported and returnsNone
.
- π§ 1239_, [Linux]: expose kernel
-
v5.4.3 Changes
2018-01-01
β¨ Enhancements
- 775_:
disk_partitions()
_ on Windows return mount points.
π Bug fixes
- 1193_:
pids()
_ may returnFalse
on macOS.
- 775_:
-
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 usingFutureWarning
instead ofDeprecationWarning
.
π 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 raiseENOENT
. - π 1187_, [macOS]:
pids()
_ does not return PID 0 on recent macOS versions.
- 1173_: introduced
-
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 of0
. (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)
- π 1164_, [AIX]: add support for
-
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 withIOError
. - π 1012_, [Windows]:
disk_io_counters()
_read_time
andwrite_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 withIOError
. (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
- π 1124_: documentation moved to http://psutil.readthedocs.io
π Bug fixes
- 1105_, [FreeBSD]: psutil does not compile on FreeBSD 12.
- 1125_, [BSD]:
net_connections()
_ raisesTypeError
.
Compatibility notes
- π 1120_:
.exe
files for Windows are no longer uploaded on PyPI as per PEP-527. Only wheels are provided.