Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #3437 > unrolled thread

ANN: psutil 5.7.1 released

Started by"Giampaolo Rodola'" <g.rodola@gmail.com>
First post2020-07-15 14:27 +0200
Last post2020-07-15 14:27 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce


Contents

  ANN: psutil 5.7.1 released "Giampaolo Rodola'" <g.rodola@gmail.com> - 2020-07-15 14:27 +0200

#3437 — ANN: psutil 5.7.1 released

From"Giampaolo Rodola'" <g.rodola@gmail.com>
Date2020-07-15 14:27 +0200
SubjectANN: psutil 5.7.1 released
Message-ID<159481613377.20578.python-announce-list@python.org>
Hello all,
I'm glad to announce the release of psutil 5.7.1:
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.  Supported Python versions are 2.6, 2.7 and
3.4+. PyPy is also known to work.

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

2020-07-15

**Enhancements**

- #1729: parallel tests on UNIX (make test-parallel). They're twice as fast!
- #1741: "make build/install" is now run in parallel and it's about 15% faster
  on UNIX.
- #1747: `Process.wait()` on POSIX returns an enum, showing the negative signal
  which was used to terminate the process::
    >>> import psutil
    >>> p = psutil.Process(9891)
    >>> p.terminate()
    >>> p.wait()
    <Negsignal.SIGTERM: -15>
- #1747: `Process.wait()` return value is cached so that the exit code can be
  retrieved on then next call.
- #1747: Process provides more info about the process on str() and repr()
  (status and exit code)::
    >>> proc
    psutil.Process(pid=12739, name='python3', status='terminated',
                   exitcode=<Negsigs.SIGTERM: -15>, started='15:08:20')
- #1757: memory leak tests are now stable.
- #1768: [Windows] added support for Windows Nano Server. (contributed by
  Julien Lebot)

**Bug fixes**

- #1726: [Linux] cpu_freq() parsing should use spaces instead of tabs on ia64.
  (patch by Michał Górny)
- #1760: [Linux] Process.rlimit() does not handle long long type properly.
- #1766: [macOS] NoSuchProcess may be raised instead of ZombieProcess.
- #1781: fix signature of callback function for getloadavg().  (patch by
  Ammar Askar)

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 - https://gmpy.dev/about

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web