2022年05月20日
✨ Enhancements
read(2) buffer size from 1k to 32k when reading
/proc pseudo files line by line. This should help having more consistent
results.cpu_freq()_.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
AttributeError is raised if psutil.Error class is raised
manually and passed through str.cpu_freq()_ erroneously returns curr value in GHz while
min and max are in MHz.virtual_memory()_ may raise ValueError if running in a
LCX container.net_if_stats() returns incorrect interface speed for 100GbE
network cards