psutil v5.4.2 Release Notes
-
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