Hello all, I'm glad to announce the release of psutil 4.4.0: https://github.com/giampaolo/psutil Detailed blog post is here: http://grodola.blogspot.com/2016/10/psutil-440-released-improved-linux.html 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, OSX, Sun Solaris, FreeBSD, OpenBSD and NetBSD, both 32-bit and 64-bit architectures, with Python versions from 2.6 to 3.5 (users of Python 2.4 and 2.5 may use 2.1.3 version). PyPy is also known to work. What's new ========== Enhancements ------------ - #874: [Windows] net_if_addrs() returns also the netmask. - #887: [Linux] virtual_memory()'s 'available' and 'used' values are more precise and match "free" cmdline utility. "available" also takes into account LCX containers preventing "available" to overflow "total". - #891: procinfo.py script has been updated and provides a lot more info. Bug fixes --------- - #514: [OSX] possibly fix Process.memory_maps() segfault (critical!). - #783: [OSX] Process.status() may erroneously return "running" for zombie processes. - #798: [Windows] Process.open_files() returns and empty list on Windows 10. - #825: [Linux] cpu_affinity; fix possible double close and use of unopened socket. - #880: [Windows] Handle race condition inside psutil_net_connections. - #885: ValueError is raised if a negative integer is passed to cpu_percent() functions. - #892: [Linux] Process.cpu_affinity([-1]) raise SystemError with no error set; now ValueError is raised. - #906: [BSD] disk_partitions(all=False) returned an empty list. Now the argument is ignored and all partitions are always returned. - #907: [FreeBSD] Process.exe() may fail with OSError(ENOENT). - #908: [OSX, BSD] different process methods could errounesuly mask the real error for high-privileged PIDs and raise NoSuchProcess and AccessDenied instead of OSError and RuntimeError. - #909: [OSX] Process open_files() and connections() methods may raise OSError with no exception set if process is gone. - #916: [OSX] fix many compilation warnings. Links ===== - Home page: https://github.com/giampaolo/psutil - Download: https://pypi.python.org/pypi/psutil - Documentation: http://pythonhosted.org/psutil - What's new: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst -- Giampaolo - http://grodola.blogspot.com
participants (1)
-
Giampaolo Rodola'