ANN: released psutil 5.0.0, introducing a 2x speedup for process methods

Giampaolo Rodola' g.rodola at gmail.com
Sun Nov 6 14:28:52 EST 2016


Hello all,
I'm glad to announce the release of psutil 5.0.0:
https://github.com/giampaolo/psutil
This release introduces important speedups making psutil from 2x to 6x
faster depending on what platform you're on.
A full blog post can be found here:
http://grodola.blogspot.com/2016/11/psutil-500-is-around-twice-as-fast.html

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, OSX, Sun Solaris, FreeBSD, OpenBSD and
NetBSD, both 32-bit and 64-bit architectures, with Python versions from 2.6
to 3.5 (users of Python 2.4 and 2.5 may use 2.1.3 version). PyPy is also
known to work.

What's new
==========

*2016-11-06*

**Enhncements**

- #799: new Process.oneshot() context manager making Process
  methods around +2x faster in general and from +2x to +6x faster on
  Windows.
- #943: better error message in case of version conflict on import.

**Bug fixes**

- #932: [NetBSD] net_connections() and Process.connections() may fail
without
  raising an exception.
- #933: [Windows] memory leak in cpu_stats() and
WindowsService.description().

Links
=====

- Home page: https://github.com/giampaolo/psutil
- Download: https://pypi.python.org/pypi/psutil
- Documentation: http://pythonhosted.org/psutil
- What's new: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst

--

Giampaolo - http://grodola.blogspot.com


More information about the Python-announce-list mailing list