Read detailed blog post at:
https://gmpy.dev/blog/2025/psutil-heap-introspection-apisAbout
=====
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. Supported Python versions are cPython 3.6+ and PyPy.
What's new
==========
2025-12-23
**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).
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.rstHashes
======
psutil-7.2.0-cp313-cp313t-macosx_10_13_x86_64.whl
md5: 30d422b872b045350e90fd1b9c2836a8
sha256: c31e927555539132a00380c971816ea43d089bf4bd5f3e918ed8c16776d68474
psutil-7.2.0-cp313-cp313t-macosx_11_0_arm64.whl
md5: 94f51848adaa0c60b54f6446c5119ed1
sha256: db8e44e766cef86dea47d9a1fa535d38dc76449e5878a92f33683b7dba5bfcb2
psutil-7.2.0-cp313-cp313t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl
md5: 29765f7cd7b76a7498a5198d2c27f109
sha256: 85ef849ac92169dedc59a7ac2fb565f47b3468fbe1524bf748746bc21afb94c7
psutil-7.2.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
md5: 5dc17c664cb34ef74ea9c3e3175ab6e6
sha256: 26782bdbae2f5c14ce9ebe8ad2411dc2ca870495e0cd90f8910ede7fa5e27117
psutil-7.2.0-cp313-cp313t-win_amd64.whl
md5: ff0db9af33499944aaccb5fa26f48f56
sha256: b7665f612d3b38a583391b95969667a53aaf6c5706dc27a602c9a4874fbf09e4
psutil-7.2.0-cp313-cp313t-win_arm64.whl
md5: e6e356676d8fa6e4eca118d5bea333ae
sha256: 4413373c174520ae28a24a8974ad8ce6b21f060d27dde94e25f8c73a7effe57a
psutil-7.2.0-cp314-cp314t-macosx_10_15_x86_64.whl
md5: 6c02f077a8a78b921870dace9f586b06
sha256: 2f2f53fd114e7946dfba3afb98c9b7c7f376009447360ca15bfb73f2066f84c7
psutil-7.2.0-cp314-cp314t-macosx_11_0_arm64.whl
md5: 5b95c2fef1bb0f463ee22319b7c6aa53
sha256: e65c41d7e60068f60ce43b31a3a7fc90deb0dfd34ffc824a2574c2e5279b377e
psutil-7.2.0-cp314-cp314t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl
md5: 4cc44ae379f4f1a30ecfb3d41236768d
sha256: cc66d21366850a4261412ce994ae9976bba9852dafb4f2fa60db68ed17ff5281
psutil-7.2.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
md5: c84e4a4f66905b00984a0b8c9f02701c
sha256: e025d67b42b8f22b096d5d20f5171de0e0fefb2f0ce983a13c5a1b5ed9872706
psutil-7.2.0-cp314-cp314t-win_amd64.whl
md5: be6ce1bfa001a6cdbd164200abe3c969
sha256: 45f6b91f7ad63414d6454fd609e5e3556d0e1038d5d9c75a1368513bdf763f57
psutil-7.2.0-cp314-cp314t-win_arm64.whl
md5: a8b1dcf8f8b1675ee5992cb04cc8fcf3
sha256: 87b18a19574139d60a546e88b5f5b9cbad598e26cdc790d204ab95d7024f03ee
psutil-7.2.0-cp36-abi3-macosx_10_9_x86_64.whl
md5: 4b1f3dd86df51fbefc6092a6dd27a8a3
sha256: 977a2fcd132d15cb05b32b2d85b98d087cad039b0ce435731670ba74da9e6133
psutil-7.2.0-cp36-abi3-macosx_11_0_arm64.whl
md5: 2fac874ceddc0840332cc6bd3907a580
sha256: 24151011c21fadd94214d7139d7c6c54569290d7e553989bdf0eab73b13beb8c
psutil-7.2.0-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl
md5: 4efd55aa4383f90d161909e6c96c28a3
sha256: 91f211ba9279e7c61d9d8f84b713cfc38fa161cb0597d5cb3f1ca742f6848254
psutil-7.2.0-cp36-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
md5: db0fb418886be9a4c9b5ed6e2c5756e6
sha256: f37415188b7ea98faf90fed51131181646c59098b077550246e2e092e127418b
psutil-7.2.0-cp36-abi3-musllinux_1_2_aarch64.whl
md5: f4bfe8fffe528fb253388b80b5190856
sha256: 0d12c7ce6ed1128cd81fd54606afa054ac7dbb9773469ebb58cf2f171c49f2ac
psutil-7.2.0-cp36-abi3-musllinux_1_2_x86_64.whl
md5: b5961b3d249ad34ff00062c38096bc7b
sha256: ca0faef7976530940dcd39bc5382d0d0d5eb023b186a4901ca341bd8d8684151
psutil-7.2.0-cp37-abi3-win_amd64.whl
md5: 90d5edc0386f51d0ce78d62aa3e51a7b
sha256: abdb74137ca232d20250e9ad471f58d500e7743bc8253ba0bfbf26e570c0e437
psutil-7.2.0-cp37-abi3-win_arm64.whl
md5: 91aea8779e8b1ef9a2085cafb5f506b9
sha256: 284e71038b3139e7ab3834b63b3eb5aa5565fcd61a681ec746ef9a0a8c457fd2
psutil-7.2.0.tar.gz
md5: 9d8ee00a4b3ea9279df6bbe0a307c541
sha256: 2e4f8e1552f77d14dc96fb0f6240c5b34a37081c0889f0853b3b29a496e5ef64
--
Giampaolo -
https://gmpy.dev/about