ANN: psutil 5.4.2 released

Giampaolo Rodola' g.rodola at
Thu Dec 7 07:05:09 EST 2017

Hello all,
I'm glad to announce the release of psutil 5.4.2:


psutil (process and system utilities) is a cross-platform library for
retrieving information on running processes and system utilization (CPU,
memory, disks, network) in Python. It is useful mainly for system
monitoring, profiling and limiting process resources and management of
running processes. It implements many functionalities offered by command
line tools such as: ps, top, lsof, netstat, ifconfig, who, df, kill, free,
nice, ionice, iostat, iotop, uptime, pidof, tty, taskset, pmap. It
currently supports Linux, Windows, OSX, Sun Solaris, FreeBSD, OpenBSD,
NetBSD and AIX, both 32-bit and 64-bit architectures, with Python versions
from 2.6 to 3.6. PyPy is also known to work.

What's new



- #1173: introduced PSUTIL_DEBUG environment variable which can be set in
  to print useful debug messages on stderr (useful in case of nasty errors).
- #1177: added support for sensors_battery() on OSX.  (patch by Arnon Yaari)
- #1183: Process.children() is 2x faster on UNIX and 2.4x faster on Linux.
- #1188: deprecated method Process.memory_info_ex() now warns by using
  FutureWarning instead of DeprecationWarning.

**Bug fixes**

- #1152: [Windows] disk_io_counters() may return an empty dict.
- #1169: [Linux] users() "hostname" returns username instead.  (patch by
- #1172: [Windows] `make test` does not work.
- #1179: [Linux] Process.cmdline() is now able to splits cmdline args for
  misbehaving processes which overwrite /proc/pid/cmdline and use spaces
  instead of null bytes as args separator.
- #1181: [OSX] Process.memory_maps() may raise ENOENT.
- #1187: [OSX] pids() does not return PID 0 on recent OSX versions.


- Home page:
- Download:
- Documentation:
- What's new:


Giampaolo -

More information about the Python-announce-list mailing list