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/procpseudo 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_rollupinstead of/proc/pids/smaps, which makes it 5 times faster.
🐛 Bug fixes
- 2048_:
AttributeErroris raised ifpsutil.Errorclass is raised manually and passed throughstr. - 🐧 2049_, [Linux]:
cpu_freq()_ erroneously returnscurrvalue in GHz whileminandmaxare in MHz. - 🐧 2050_, [Linux]:
virtual_memory()_ may raiseValueErrorif running in a LCX container. - 🐧 2095_, [Linux]:
net_if_stats()returns incorrect interface speed for 100GbE network cards