Path to this page:
./
sysutils/py-psutil,
Cross-platform process and system utilities module for Python
Branch: CURRENT,
Version: 7.2.2nb2,
Package name: py313-psutil-7.2.2nb2,
Maintainer: pkgsrc-usersutil 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.
MESSAGE.NetBSD [+/-]===========================================================================
$NetBSD: MESSAGE.NetBSD,v 1.1 2015/07/10 07:42:39 wiz Exp $
This is a minimal port to NetBSD. Many functions are not implemented
or may not work correctly.
===========================================================================
Required to run:[
devel/py-setuptools] [
lang/python37]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 482.168 KB
Version history: (Expand)
- (2026-04-07) Updated to version: py313-psutil-7.2.2nb2
- (2026-04-06) Updated to version: py313-psutil-7.2.2nb1
- (2026-01-30) Updated to version: py313-psutil-7.2.2
- (2025-12-29) Updated to version: py313-psutil-7.2.1
- (2025-12-26) Updated to version: py313-psutil-7.2.0
- (2025-11-03) Updated to version: py313-psutil-7.1.3
CVS history: (Expand)
| 2026-04-07 08:01:23 by Santhosh Raju | Files touched by this commit (1) |
Log message:
sysutils/psutil: Update the patch checksum
|
| 2026-04-07 07:49:12 by Santhosh Raju | Files touched by this commit (2) |
Log message:
sysutils/psutil: Remove dependency on kvm(3).
Depend on uvm(9) sysctl to derive the values.
|
| 2026-04-06 18:53:12 by Santhosh Raju | Files touched by this commit (6) |
Log message:
sysutils/psutil: Patch to remove procfs dependency
Replace procfs depdendency in the following sections
- cpu stats calculation
- memory usage calculation
While here also handle EBUSY failures gracefully.
|
2026-01-30 14:00:21 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-psutil: updated to 7.2.2
7.2.2
**Enhancements**
- 2705_: [Linux]: `Process.wait()`_ now uses ``pidfd_open()`` + ``poll()`` for
waiting, resulting in no busy loop and faster response times. Requires
Linux >= 5.3 and Python >= 3.9. Falls back to traditional polling if
unavailable.
- 2705_: [macOS], [BSD]: `Process.wait()`_ now uses ``kqueue()`` for waiting,
resulting in no busy loop and faster response times.
**Bug fixes**
- 2701_, [macOS]: fix compilation error on macOS < 10.7. (patch by Sergey
Fedorov)
- 2707_, [macOS]: fix potential memory leaks in error paths of
`Process.memory_full_info()` and `Process.threads()`.
- 2708_, [macOS]: Process.cmdline()`_ and `Process.environ()`_ may fail with
``OSError: [Errno 0] Undefined error`` (from ``sysctl(KERN_PROCARGS2)``).
They now raise `AccessDenied`_ instead.
|
2025-12-29 10:03:35 by Thomas Klausner | Files touched by this commit (2) |  |
Log message:
py-psutil: update to 7.2.1.
7.2.1
=====
2025-12-29
**Bug fixes**
- 2699_, [FreeBSD], [NetBSD]: `heap_info()`_ does not detect small allocations
(<= 1K). In order to fix that, we now flush internal jemalloc cache before
fetching the metrics.
|
2025-12-26 11:27:43 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-psutil: updated to 7.2.0
7.2.0
**Enhancements**
- 1275_: new `heap_info()`_ and `heap_trim()`_ functions, providing direct
access to the platform's native C heap allocator (glibc, mimalloc,
libmalloc). Useful to create tools to detect memory leaks.
- 2403_, [Linux]: publish wheels for Linux musl.
- 2680_: unit tests are no longer installed / part of the distribution. They
now live under `tests/` instead of `psutil/tests`.
**Bug fixes**
* 2684_, [FreeBSD], [critical]: compilation fails on FreeBSD 14 due to missing
include.
* 2691_, [Windows]: fix memory leak in `net_if_stats()`_ due to missing
``Py_CLEAR``.
**Compatibility notes**
- 2680_: `import psutil.tests` no longer works (but it was never documented to
begin with).
|
2025-11-03 15:33:59 by Adam Ciarcinski | Files touched by this commit (6) |  |
Log message:
py-psutil: updated to 7.1.3
7.1.3
**Enhancements**
- 2667_: enforce `clang-format` on all C and header files. It is now the
mandatory formatting style for all C sources.
- 2672_, [macOS], [BSD]: increase the chances to recognize zombie processes and
raise the appropriate exception (`ZombieProcess`_).
- 2676_, 2678_: replace unsafe `sprintf` / `snprintf` / `sprintf_s` calls with
`str_format()`. Replace `strlcat` / `strlcpy` with safe `str_copy` /
`str_append`. This unifies string handling across platforms and reduces
unsafe usage of standard string functions, improving robustness.
**Bug fixes**
- 2674_, [Windows]: `disk_usage()`_ could truncate values on 32-bit platforms,
potentially reporting incorrect total/free/used space for drives larger than
4GB.
- 2675_, [macOS]: `Process.status()`_ incorrectly returns "running" for 99%
of the processes.
- 2677_, [Windows]: fix MAC address string construction in `net_if_addrs()`_.
Previously, the MAC address buffer was incorrectly updated using a fixed
increment and `sprintf_s`, which could overflow or misformat the
string if the MAC length or formatting changed. Also, the final '\n' was
inserted unnecessarily.
7.1.2
2025-10-25
**Enhancements**
- 2657_: stop publishing prebuilt Linux and Windows wheels for 32-bit Python.
32-bit CPython is still supported, but psutil must now be built from source.
2565_: produce wheels for free-thread cPython 3.13 and 3.14 (patch by
Lysandros Nikolaou)
**Bug fixes**
- 2650_, [macOS]: `Process.cmdline()`_ and `Process.environ()`_ may incorrectly
raise `NoSuchProcess`_ instead of `ZombieProcess`_.
- 2658_, [macOS]: double ``free()`` in `Process.environ()`_ when it fails
internally. This posed a risk of segfault.
- 2662_, [macOS]: massive C code cleanup to guard against possible segfaults
which were (not so) sporadically spotted on CI.
**Compatibility notes**
- 2657_: stop publishing prebuilt Linux and Windows wheels for 32-bit Python.
|
2025-10-20 08:01:19 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-psutil: updated to 7.1.1
7.1.1
**Enhancements**
* 2645_, [SunOS]: dropped support for SunOS 10.
* 2646_, [SunOS]: add CI test runner for SunOS.
**Bug fixes**
- 2641_, [SunOS]: cannot compile psutil from sources due to missing C include.
- 2357_, [SunOS]: `Process.cmdline()`_ does not handle spaces properly. (patch
by Ben Raz)
**Compatibility notes**
* 2645_: SunOS 10 is no longer supported.
|