ANN: psutil 5.4.7 released

14 views
Skip to first unread message

Giampaolo Rodola'

unread,
Aug 14, 2018, 5:03:59 PM8/14/18
to python-ann...@python.org, psu...@googlegroups.com
Hello all,
I'm glad to announce the release of psutil 5.4.7:
https://github.com/giampaolo/psutil

About
=====

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,
macOS, 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
==========

2018-08-14

**Enhancements**

- #1286: [macOS] psutil.OSX constant is now deprecated in favor of new
psutil.MACOS.
- #1309: [Linux] added psutil.STATUS_PARKED constant for Process.status().
- #1321: [Linux] add disk_io_counters() dual implementation relying on
/sys/block filesystem in case /proc/diskstats is not available. (patch by
Lawrence Ye)

**Bug fixes**

- #1209: [macOS] Process.memory_maps() may fail with EINVAL due to poor
task_for_pid() syscall. AccessDenied is now raised instead.
- #1278: [macOS] Process.threads() incorrectly return microseconds instead of
seconds. (patch by Nikhil Marathe)
- #1279: [Linux, macOS, BSD] net_if_stats() may return ENODEV.
- #1294: [Windows] psutil.Process().connections() may sometime fail with
MemoryError. (patch by sylvainduchesne)
- #1305: [Linux] disk_io_stats() may report inflated r/w bytes values.
- #1309: [Linux] Process.status() is unable to recognize "idle" and "parked"
statuses (returns '?').
- #1313: [Linux] disk_io_counters() can report inflated IO counters due to
erroneously counting base disk device and its partition(s) twice.
- #1323: [Linux] sensors_temperatures() may fail with ValueError.

Links
=====

- Home page: https://github.com/giampaolo/psutil
- Download: https://pypi.org/project/psutil/#files
- Documentation: http://psutil.readthedocs.io
- What's new: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst

--

Giampaolo - http://grodola.blogspot.com
Reply all
Reply to author
Forward
0 new messages