
Hello all, I'm glad to announce the release of psutil 5.9.0: 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 ========== 2021-12-29 Enhancements 1851, [Linux]: cpu_freq() is slow on systems with many CPUs. Read current frequency values for all CPUs from /proc/cpuinfo instead of opening many files in /sys fs. (patch by marxin) 1992: NoSuchProcess message now specifies if the PID has been reused. 1992: error classes (NoSuchProcess, AccessDenied, etc.) now have a better formatted and separated __repr__ and __str__ implementations. 1996, [BSD]: add support for MidnightBSD. (patch by Saeed Rasooli) 1999, [Linux]: disk_partitions(): convert /dev/root device (an alias used on some Linux distros) to real root device path. 2005: PSUTIL_DEBUG mode now prints file name and line number of the debug messages coming from C extension modules. 2042: rewrite HISTORY.rst to use hyperlinks pointing to psutil API doc. Bug fixes 1456, [macOS], [critical]: cpu_freq() min and max are set to 0 if can't be determined (instead of crashing). 1512, [macOS]: sometimes Process.connections() will crash with EOPNOTSUPP for one connection; this is now ignored. 1598, [Windows]: disk_partitions() only returns mountpoints on drives where it first finds one. 1874, [SunOS]: swap output error due to incorrect range. 1892, [macOS]: cpu_freq() broken on Apple M1. 1901, [macOS]: different functions, especially Process.open_files() and Process.connections(), could randomly raise AccessDenied because the internal buffer of proc_pidinfo(PROC_PIDLISTFDS) syscall was not big enough. We now dynamically increase the buffer size until it's big enough instead of giving up and raising AccessDenied, which was a fallback to avoid crashing. 1904, [Windows]: OpenProcess fails with ERROR_SUCCESS due to GetLastError() called after sprintf(). (patch by alxchk) 1913, [Linux]: wait_procs() should catch subprocess.TimeoutExpired exception. 1919, [Linux]: sensors_battery() can raise TypeError on PureOS. 1921, [Windows]: swap_memory() shows committed memory instead of swap. 1940, [Linux]: psutil does not handle ENAMETOOLONG when accessing process file descriptors in procfs. (patch by Nikita Radchenko) 1948, [critical]: memoize_when_activated decorator is not thread-safe. (patch by Xuehai Pan) 1953, [Windows], [critical]: disk_partitions() crashes due to insufficient buffer len. (patch by MaWe2019) 1965, [Windows], [critical]: fix "Fatal Python error: deallocating None" when calling users() multiple times. 1980, [Windows]: 32bit / WoW64 processes fails to read Process.name() longer than 128 characters resulting in AccessDenied. This is now fixed. (patch by PetrPospisil) 1991, [critical]: process_iter() is not thread safe and can raise TypeError if invoked from multiple threads. 1956, [macOS]: Process.cpu_times() reports incorrect timings on M1 machines. (patch by Olivier Dormond) 2023, [Linux]: cpu_freq() return order is wrong on systems with more than 9 CPUs. 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 Hashes ====== psutil-5.9.0-cp27-cp27m-manylinux2010_i686.whl md5: 0823588f7c71a1fed902ffead1435045 sha256: 55ce319452e3d139e25d6c3f85a1acf12d1607ddedea5e35fb47a552c051161b psutil-5.9.0-cp27-cp27m-manylinux2010_x86_64.whl md5: 71d543235afe2e744e8a3750faed6a9a sha256: 7336292a13a80eb93c21f36bde4328aa748a04b68c13d01dfddd67fc13fd0618 psutil-5.9.0-cp27-cp27mu-manylinux2010_i686.whl md5: e8d8a31d4d970e076fd0ee15376934b3 sha256: cb8d10461c1ceee0c25a64f2dd54872b70b89c26419e147a05a10b753ad36ec2 psutil-5.9.0-cp27-cp27mu-manylinux2010_x86_64.whl md5: 43d77ebea88d42281ae9739d0422ff6c sha256: 7641300de73e4909e5d148e90cc3142fb890079e1525a840cf0dfd39195239fd psutil-5.9.0-cp27-none-win32.whl md5: f92f9bc67f7027712a50d2ab8a1d68b8 sha256: ea42d747c5f71b5ccaa6897b216a7dadb9f52c72a0fe2b872ef7d3e1eacf3ba3 psutil-5.9.0-cp27-none-win_amd64.whl md5: 67f518186af7e65f6aa4f94e8362cde8 sha256: ef216cc9feb60634bda2f341a9559ac594e2eeaadd0ba187a4c2eb5b5d40b91c psutil-5.9.0-cp310-cp310-macosx_10_9_x86_64.whl md5: bb2d720d0811b983b5cdf82d812f087a sha256: 90a58b9fcae2dbfe4ba852b57bd4a1dded6b990a33d6428c7614b7d48eccb492 psutil-5.9.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl md5: b1c465fdffe8df811add813c1956c52c sha256: ff0d41f8b3e9ebb6b6110057e40019a432e96aae2008951121ba4e56040b84f3 psutil-5.9.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl md5: 7a8bfe20b333fc5f031f3993049e4f43 sha256: 742c34fff804f34f62659279ed5c5b723bb0195e9d7bd9907591de9f8f6558e2 psutil-5.9.0-cp310-cp310-win32.whl md5: 946b6aed799fdde67e1d2d522f0cf3ec sha256: 8293942e4ce0c5689821f65ce6522ce4786d02af57f13c0195b40e1edb1db61d psutil-5.9.0-cp310-cp310-win_amd64.whl md5: d550982ad38aef43e13c34a086f36886 sha256: 9b51917c1af3fa35a3f2dabd7ba96a2a4f19df3dec911da73875e1edaf22a40b psutil-5.9.0-cp37-cp37m-macosx_10_9_x86_64.whl md5: 900c6687fd4343a11226944e534a9ecf sha256: 3d00a664e31921009a84367266b35ba0aac04a2a6cad09c550a89041034d19a0 psutil-5.9.0-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl md5: 015f2feb5abdaad90df1dd9601e1852a sha256: 7779be4025c540d1d65a2de3f30caeacc49ae7a2152108adeaf42c7534a115ce psutil-5.9.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl md5: 518c44a672ac81037ddf0c63e278a0c9 sha256: 072664401ae6e7c1bfb878c65d7282d4b4391f1bc9a56d5e03b5a490403271b5 psutil-5.9.0-cp37-cp37m-win32.whl md5: 83e1052f48469c6b0ca7a35629d44dff sha256: df2c8bd48fb83a8408c8390b143c6a6fa10cb1a674ca664954de193fdcab36a9 psutil-5.9.0-cp37-cp37m-win_amd64.whl md5: e87dcb40e31b8acfd38517dfae905ad5 sha256: 1d7b433519b9a38192dfda962dd8f44446668c009833e1429a52424624f408b4 psutil-5.9.0-cp38-cp38-macosx_10_9_x86_64.whl md5: 454b52a269964276ecee1f368717d504 sha256: c3400cae15bdb449d518545cbd5b649117de54e3596ded84aacabfbb3297ead2 psutil-5.9.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl md5: 4646ec36cd4ff3a1382e5a0842325c6c sha256: b2237f35c4bbae932ee98902a08050a27821f8f6dfa880a47195e5993af4702d psutil-5.9.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl md5: fb46ae363c209c6139350d22494b0ca2 sha256: 1070a9b287846a21a5d572d6dddd369517510b68710fca56b0e9e02fd24bed9a psutil-5.9.0-cp38-cp38-win32.whl md5: 9dc72d227135a097dfe3b9a9704f0d4e sha256: 76cebf84aac1d6da5b63df11fe0d377b46b7b500d892284068bacccf12f20666 psutil-5.9.0-cp38-cp38-win_amd64.whl md5: 757585f0dcecb2e0b9bef4a514ace2bf sha256: 3151a58f0fbd8942ba94f7c31c7e6b310d2989f4da74fcbf28b934374e9bf841 psutil-5.9.0-cp39-cp39-macosx_10_9_x86_64.whl md5: 499ae21609e3d49244ee32441383356b sha256: 539e429da49c5d27d5a58e3563886057f8fc3868a5547b4f1876d9c0f007bccf psutil-5.9.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl md5: ebc9b13b86f48b9cb5c673b4af3e091b sha256: 58c7d923dc209225600aec73aa2c4ae8ea33b1ab31bc11ef8a5933b027476f07 psutil-5.9.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl md5: 2b24eaf730adc451b746d9c6a332c0f4 sha256: 3611e87eea393f779a35b192b46a164b1d01167c9d323dda9b1e527ea69d697d psutil-5.9.0-cp39-cp39-win32.whl md5: b8970ec246199182214148e7c3d060e9 sha256: 4e2fb92e3aeae3ec3b7b66c528981fd327fb93fd906a77215200404444ec1845 psutil-5.9.0-cp39-cp39-win_amd64.whl md5: 75d0c4cf515a5acd882fd30e87f6d13f sha256: 7d190ee2eaef7831163f254dc58f6d2e2a22e27382b936aab51c835fc080c3d3 psutil-5.9.0.tar.gz md5: 573e874b900656b0f6f20f49ed6547c4 sha256: 869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25 -- Giampaolo - https://gmpy.dev/about
participants (1)
-
Giampaolo Rodola'