All Versions
87
Latest Version
Avg Release Cycle
46 days
Latest Release
-
Changelog History
Page 5
Changelog History
Page 5
-
v4.4.2 Changes
2016-10-26
๐ Bug fixes
- 931_, [critical]: psutil no longer compiles on Solaris.
-
v4.4.1 Changes
2016-10-25
๐ Bug fixes
- 927_, [critical]:
psutil.Popen
___del__
may cause maximum recursion depth error.
- 927_, [critical]:
-
v4.4.0 Changes
2016-10-23
โจ Enhancements
- ๐ 874_, [Windows]: make
net_if_addrs()
_ also return thenetmask
. - ๐ง 887_, [Linux]:
virtual_memory()
_available
andused
values are more precise and matchfree
cmdline utility.available
also takes into account LCX containers preventingavailable
to overflowtotal
. - 891_:
procinfo.py
_ script has been updated and provides a lot more info.
๐ Bug fixes
- ๐ 514_, [macOS], [critical]:
Process.memory_maps()
_ can segfault. - ๐ 783_, [macOS]:
Process.status()
_ may erroneously return"running"
for zombie processes. - ๐ 798_, [Windows]:
Process.open_files()
_ returns and empty list on Windows 10. - ๐ง 825_, [Linux]:
Process.cpu_affinity()
_: fix possible double close and use of unopened socket. - ๐ 880_, [Windows]: fix race condition inside
net_connections()
_. - 885_:
ValueError
is raised if a negative integer is passed tocpu_percent()
_ functions. - ๐ง 892_, [Linux], [critical]:
Process.cpu_affinity()
_ with[-1]
as arg raisesSystemError
with no error set; nowValueError
is raised. - 906_, [BSD]:
disk_partitions()
_ withall=False
returned an empty list. Now the argument is ignored and all partitions are always returned. - 907_, [FreeBSD]:
Process.exe()
_ may fail withOSError(ENOENT)
. - ๐ 908_, [macOS], [BSD]: different process methods could errounesuly mask the real
error for high-privileged PIDs and raise
NoSuchProcess
_ andAccessDenied
_ instead ofOSError
andRuntimeError
. - ๐ 909_, [macOS]:
Process.open_files()
_ andProcess.connections()
_ methods may raiseOSError
with no exception set if process is gone. - ๐ 916_, [macOS]: fix many compilation warnings.
- ๐ 874_, [Windows]: make
-
v4.3.1 Changes
2016-09-01
โจ Enhancements
- 881_:
make install
now works also when using a virtual env.
๐ Bug fixes
- 854_:
Process.as_dict()
_ raisesValueError
if passed an erroneous attrs name. - 857_, [SunOS]:
Process.cpu_times()
,Process.cpu_percent()
,Process.threads()
_ andProcess.memory_maps()
_ may raiseRuntimeError
if attempting to query a 64bit process with a 32bit Python. "Null" values are returned as a fallback. - 858_:
Process.as_dict()
_ should not callProcess.memory_info_ex()
_ because it's deprecated. - ๐ 863_, [Windows]:
Process.memory_maps()
_ truncates addresses above 32 bits. - ๐ 866_, [Windows]:
win_service_iter()
_ and services in general are not able to handle unicode service names / descriptions. - ๐ 869_, [Windows]:
Process.wait()
_ may raiseTimeoutExpired
_ with wrong timeout unit (ms instead of sec). - ๐ 870_, [Windows]: handle leak inside
psutil_get_process_data
.
- 881_:
-
v4.3.0 Changes
2016-06-18
โจ Enhancements
- ๐ง 819_, [Linux]: different speedup improvements:
Process.ppid()
_ +20% faster.Process.status()
_ +28% faster.Process.name()
_ +25% faster.Process.num_threads()
_ +20% faster on Python 3.
๐ Bug fixes
- ๐ 810_, [Windows]: Windows wheels are incompatible with pip 7.1.2.
- 812_, [NetBSD], [critical]: fix compilation on NetBSD-5.x.
- 823_, [NetBSD]:
virtual_memory()
_ raisesTypeError
on Python 3. - 829_, [POSIX]:
disk_usage()
_percent
field takes root reserved space into account. - ๐ 816_, [Windows]: fixed
net_io_counters()
_ values wrapping after 4.3GB in Windows Vista (NT 6.0) and above using 64bit values from newer win APIs.
- ๐ง 819_, [Linux]: different speedup improvements:
-
v4.2.0 Changes
2016-05-14
โจ Enhancements
- ๐ 795_, [Windows]: new APIs to deal with Windows services:
win_service_iter()
_ andwin_service_get()
_. - ๐ง 800_, [Linux]:
virtual_memory()
_ returns a newshared
memory field. - ๐ง 819_, [Linux]: speedup
/proc
parsing:Process.ppid()
_ +20% faster.Process.status()
_ +28% faster.Process.name()
_ +25% faster.Process.num_threads()
_ +20% faster on Python 3.
๐ Bug fixes
- ๐ง 797_, [Linux]:
net_if_stats()
_ may raiseOSError
for certain NIC cards. - 813_:
Process.as_dict()
_ should ignore extraneous attribute names which gets attached to theProcess
_ instance.
- ๐ 795_, [Windows]: new APIs to deal with Windows services:
-
v4.1.0 Changes
2016-03-12
โจ Enhancements
- ๐ง 777_, [Linux]:
Process.open_files()
_ on Linux return 3 new fields:position
,mode
andflags
. - 779_:
Process.cpu_times()
_ returns two new fields,children_user
andchildren_system
(always set to 0 on macOS and Windows). - ๐ 789_, [Windows]:
cpu_times()
_ return two new fields:interrupt
anddpc
. Same forcpu_times_percent()
_. - 792_: new
cpu_stats()
_ function returning number of CPUctx_switches
,interrupts
,soft_interrupts
andsyscalls
.
๐ Bug fixes
- 774_, [FreeBSD]:
net_io_counters()
_ dropout is no longer set to 0 if the kernel provides it. - ๐ง 776_, [Linux]:
Process.cpu_affinity()
_ may erroneously raiseNoSuchProcess
_. (patch by wxwright) - ๐ 780_, [macOS]: psutil does not compile with some GCC versions.
- 786_:
net_if_addrs()
_ may report incomplete MAC addresses. - 788_, [NetBSD]:
virtual_memory()
_buffers
andshared
values were set to 0. - ๐ 790_, [macOS], [critical]: psutil won't compile on macOS 10.4.
- ๐ง 777_, [Linux]:
-
v4.0.0 Changes
2016-02-17
โจ Enhancements
- ๐ง 523_, [Linux], [FreeBSD]:
disk_io_counters()
_ return a newbusy_time
field. - ๐ 660_, [Windows]: make.bat is smarter in finding alternative VS install locations. (patch by mpderbec)
- 732_:
Process.environ()
_. (patch by Frank Benkstein) - ๐ 753_, [Linux], [macOS], [Windows]: process USS and PSS (Linux) "real" memory stats. (patch by Eric Rahm)
- 755_:
Process.memory_percent()
_memtype
parameter. - โ 758_: tests now live in psutil namespace.
- ๐ง 760_: expose OS constants (
psutil.LINUX
,psutil.OSX
, etc.) - ๐ง 756_, [Linux]:
disk_io_counters()
_ return 2 new fields:read_merged_count
andwrite_merged_count
. - 762_: new
procsmem.py
_ script.
๐ Bug fixes
- ๐ง 685_, [Linux]:
virtual_memory()
_ provides wrong results on systems with a lot of physical memory. - 704_, [SunOS]: psutil does not compile on Solaris sparc.
- 734_: on Python 3 invalid UTF-8 data is not correctly handled for
Process.name()
,Process.cwd()
,Process.exe()
,Process.cmdline()
andProcess.open_files()
_ methods resulting inUnicodeDecodeError
exceptions.'surrogateescape'
error handler is now used as a workaround for replacing the corrupted data. - ๐ 737_, [Windows]: when the bitness of psutil and the target process was
different,
Process.cmdline()
_ andProcess.cwd()
_ could return a wrong result or incorrectly report anAccessDenied
_ error. - 741_, [OpenBSD]: psutil does not compile on mips64.
- ๐ง 751_, [Linux]: fixed call to
Py_DECREF
on possibleNULL
object. - ๐ง 754_, [Linux]:
Process.cmdline()
_ can be wrong in case of zombie process. - ๐ง 759_, [Linux]:
Process.memory_maps()
_ may return paths ending with" (deleted)"
. - ๐ 761_, [Windows]:
boot_time()
_ wraps to 0 after 49 days. - 764_, [NetBSD]: fix compilation on NetBSD-6.x.
- ๐ง 766_, [Linux]:
net_connections()
_ can't handle malformed/proc/net/unix
file. - ๐ง 767_, [Linux]:
disk_io_counters()
_ may raiseValueError
on 2.6 kernels and it's broken on 2.4 kernels. - 770_, [NetBSD]:
disk_io_counters()
_ metrics didn't update.
- ๐ง 523_, [Linux], [FreeBSD]:
-
v3.4.2 Changes
2016-01-20
โจ Enhancements
- 728_, [SunOS]: exposed
PROCFS_PATH
_ constant to change the default location of/proc
filesystem.
๐ Bug fixes
- 724_, [FreeBSD]:
virtual_memory()
_total
is incorrect. - 730_, [FreeBSD], [critical]:
virtual_memory()
_ crashes with "OSError: [Errno 12] Cannot allocate memory".
- 728_, [SunOS]: exposed
-
v3.4.1 Changes
2016-01-15
โจ Enhancements
- ๐ 557_, [NetBSD]: added NetBSD support. (contributed by Ryo Onodera and Thomas Klausner)
- ๐ง 708_, [Linux]:
net_connections()
_ andProcess.connections()
_ on Python 2 can be up to 3x faster in case of many connections. AlsoProcess.memory_maps()
_ is slightly faster. - 718_:
process_iter()
_ is now thread safe.
๐ Bug fixes
- 714_, [OpenBSD]:
virtual_memory()
_cached
value was always set to 0. - 715_, [critical]: don't crash at import time if
cpu_times()
_ fail for some reason. - ๐ง 717_, [Linux]:
Process.open_files()
_ fails if deleted files still visible. - ๐ง 722_, [Linux]:
swap_memory()
_ no longer crashes ifsin
/sout
can't be determined due to missing/proc/vmstat
. - 724_, [FreeBSD]:
virtual_memory()
_total
is slightly incorrect.