Hello all, I'm glad to announce the release of psutil 5.7.3: https://github.com/giampaolo/psutilHere's a blog post explaining the highlights in detail: https://gmpy.dev/blog/2020/freebsd-process-environ-and-resource-limits 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-10-23 **Enhancements** - 809: [FreeBSD] add support for `Process.rlimit()`. - 893: [BSD] add support for `Process.environ()` (patch by Armin Gruner) - 1830: [UNIX] `net_if_stats()`'s `isup` also checks whether the NIC is running (meaning Wi-Fi or ethernet cable is connected). (patch by Chris Burger) - 1837: [Linux] improved battery detection and charge "secsleft" calculation (patch by aristocratos) **Bug fixes** - 1620: [Linux] physical cpu_count() result is incorrect on systems with more than one CPU socket. (patch by Vincent A. Arcila) - 1738: [macOS] Process.exe() may raise FileNotFoundError if process is still alive but the exe file which launched it got deleted. - 1791: [macOS] fix missing include for getpagesize(). - 1823: [Windows] Process.open_files() may cause a segfault due to a NULL pointer. - 1838: [Linux] sensors_battery(): if `percent` can be determined but not the remaining values, still return a result instead of None. (patch by aristocratos) 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/
participants (1)
-
Giampaolo Rodola'