./sysutils/py-psutil, Cross-platform process and system utilities module for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 5.7.2, Package name: py37-psutil-5.7.2, Maintainer: pkgsrc-users

util is a module providing an interface for retrieving information,
on all running processes and system utilization (CPU, memory, disks,
network, users) in a portable way by using Python, implementing
many functionalities offered by command line tools such as ps, top,
df, netstat, who, kill, uptime, free, lsof, ifconfig, nice, ionice,
iostat, iotop, pidof, tty, taskset, or pmap.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:

Master sites:

SHA1: 96b2286d1b06b6093aa0b5cb192bce7eb60c831a
RMD160: 81e2a15776e0dea9f460f735f1f0ca5a1a421a79
Filesize: 449.412 KB

Version history: (Expand)

CVS history: (Expand)

   2020-07-16 13:16:21 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-psutil: updated to 5.7.2

Bug fixes
- wheels for 2.7 were inadvertently deleted.

- 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.

Bug fixes
- 1726_: [Linux] cpu_freq() parsing should use spaces instead of tabs on ia64.
- 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().
   2020-04-19 12:04:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-psutil: updated to 5.7.0


* [SunOS] add partial support for old SunOS 5.10 Update 0 to 3.
* [Linux] sensors_temperatures() looks into an additional /sys/device/ directory \ 
for additional data.
* [Windows] dropped support for Windows XP and Windows Server 2003. Minimum \ 
supported Windows version now is Windows Vista.
* [FreeBSD] add CI testing/service for FreeBSD (Cirrus CI).
* [Windows] process exe() will succeed for all process PIDs (instead of raising \ 
* [Windows] net_connections() and Process.connections() are 10% faster.
* [PyPy] added CI / test integration for PyPy via Travis.
* [Windows] added support for PyPy on Windows.
* [Windows] boot_time(), Process.create_time() and users()'s login time now have \ 
1 micro second precision (before the precision was of 1 second).

Bug fixes
* [NetBSD] process cwd() may return ENOENT instead of NoSuchProcess.
* [Linux] Process.memory_maps() can raise KeyError.
* [SunOS] querying basic info for PID 0 results in FileNotFoundError.
* [FreeBSD] many Process methods may cause a segfault on FreeBSD 12.0 due to a \ 
backward incompatible change in a C type introduced in 12.0.
* [Windows] Process.memory_full_info() raises AccessDenied even for the current \ 
user and os.getpid().
* [Windows] Process.open_files() complete rewrite + check of errors.
* [Windows] process exe() may raise WinError 0.
* [Linux] disk_io_counters() does not take into account extra fields added to \ 
recent kernels.
* use the right C type when dealing with PIDs (int or long). Thus far (long) was \ 
almost always assumed, which is wrong on most platforms.
* [OpenBSD] Process connections(), num_fds() and threads() returned improper \ 
exception if process is gone.
* [SunOS] disk_partitions() may raise OSError.
* [Linux] disk_io_counters() may raise ValueError on systems not having \ 
* [Linux] could not compile on kernels <= 2.6.13 due to PSUTIL_HAVE_IOPRIO \ 
not being defined.
   2019-12-13 10:48:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-psutil: updated to 5.6.7

**Bug fixes**
- 1630_: [Windows] can't compile source distribution due to C syntax error.

**Bug fixes**
- 1179_: [Linux] Process cmdline() now takes into account misbehaving processes
  renaming the command line and using inappropriate chars to separate args.
- 1616_: use of Py_DECREF instead of Py_CLEAR will result in double free and
  segfault (CVE).
- 1619_: [OpenBSD] compilation fails due to C syntax error.
   2019-11-06 16:48:23 by Adam Ciarcinski | Files touched by this commit (6) | Package updated
Log message:
py-psutil: updated to 5.6.5

**Bug fixes**
- remove pyproject.toml as it was causing installation issues.

- [Linux] added Process.cpu_times().iowait counter, which is the time
  spent waiting for blocking I/O to complete.
- add PEP 517/8 build backend and requirements specification for better
  pip integration.

**Bug fixes**
- [Windows] Process' cmdline(), environ() or cwd() may occasionally fail
  with ERROR_PARTIAL_COPY which now gets translated to AccessDenied.
- [Linux] cpu_affinity() segfaults on CentOS 5 / manylinux.
  cpu_affinity() support for CentOS 5 was removed.
- [AIX] compilation error on AIX 7.2 due to 32 vs 64 bit differences.
- 'type' and 'family' fields returned by net_connections() are not
  always turned into enums.
- [NetBSD] process cmdline() erroneously raise ZombieProcess error if
  cmdline has non encodable chars.
- usage percent may be rounded to 0 on Python 2.
- [Windows] getloadavg() math for calculating 5 and 15 mins values is
- [Linux] use CC compiler env var if defined.
- [Windows] `NtWow64*` syscalls fail to raise the proper error code
- [OSX] calling close() (in C) on possible negative integers.
- [SunOS] compilation fails on SunOS 5.10.
   2019-10-11 22:01:51 by Kamil Rytarowski | Files touched by this commit (3)
Log message:
py-psutil: Stop using SDEAD on NetBSD

Fixes usage on recent NetBSD.
   2019-06-29 20:00:49 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-psutil: fix build on -current, which does not define LSDEAD any longer.

   2019-06-12 00:55:04 by Leonardo Taccari | Files touched by this commit (4) | Package updated
Log message:
py-psutil: Update to 5.6.3

pkgsrc changes:
 - Remove no longer needed patch hunks (applied upstream)

 - 1494: [AIX] added support for Process.environ().  (patch by Arnon Yaari)

Bug fixes
 - 1276: [AIX] can't get whole cmdline().  (patch by Arnon Yaari)
 - 1501: [Windows] Process cmdline() and exe() raise unhandled "WinError 1168
   element not found" exceptions for "Registry" and "Memory \ 
Compression" psuedo
   processes on Windows 10.
 - 1526: [NetBSD] process cmdline() could raise MemoryError.  (patch by
   Kamil Rytarowski)
   2019-06-07 21:09:06 by Leonardo Taccari | Files touched by this commit (3) | Package updated
Log message:
py-psutil: Fix psutil.Popen.as_dict() MemoryError on NetBSD

Previously for kern.argmax a size_t was used in sysctl(3) and the
uninitialized data lead to a too big malloc() call that failed.