psutil v5.9.1 Release Notes
-
2022-05-20
โจ Enhancements
- ๐ 1053_: drop Python 2.6 support. (patches by Matthieu Darbois and Hugo van Kemenade)
- ๐ง 2050_, [Linux]: increase
read(2)
buffer size from 1k to 32k when reading/proc
pseudo files line by line. This should help having more consistent results. - ๐ 2057_, [OpenBSD]: add support for
cpu_freq()
_. - ๐ง 2107_, [Linux]:
Process.memory_full_info()
_ (reporting process USS/PSS/Swap memory) now reads/proc/pid/smaps_rollup
instead of/proc/pids/smaps
, which makes it 5 times faster.
๐ Bug fixes
- 2048_:
AttributeError
is raised ifpsutil.Error
class is raised manually and passed throughstr
. - ๐ง 2049_, [Linux]:
cpu_freq()
_ erroneously returnscurr
value in GHz whilemin
andmax
are in MHz. - ๐ง 2050_, [Linux]:
virtual_memory()
_ may raiseValueError
if running in a LCX container. - ๐ง 2095_, [Linux]:
net_if_stats()
returns incorrect interface speed for 100GbE network cards