Hello all, I'm glad to announce the release of psutil 5.7.0: https://github.com/giampaolo/psutil
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 ==========
- #1637: [SunOS] add partial support for old SunOS 5.10 Update 0 to 3. - #1648: [Linux] sensors_temperatures() looks into an additional /sys/device/ directory for additional data. (patch by Javad Karabi) - #1652: [Windows] dropped support for Windows XP and Windows Server 2003. Minimum supported Windows version now is Windows Vista. - #1671: [FreeBSD] add CI testing/service for FreeBSD (Cirrus CI). - #1677: [Windows] process exe() will succeed for all process PIDs (instead of raising AccessDenied). - #1679: [Windows] net_connections() and Process.connections() are 10% faster. - #1682: [PyPy] added CI / test integration for PyPy via Travis. - #1686: [Windows] added support for PyPy on Windows. - #1693: [Windows] boot_time(), Process.create_time() and users()'s login time now have 1 micro second precision (before the precision was of 1 second).
- #1538: [NetBSD] process cwd() may return ENOENT instead of NoSuchProcess. - #1627: [Linux] Process.memory_maps() can raise KeyError. - #1642: [SunOS] querying basic info for PID 0 results in FileNotFoundError. - #1646: [FreeBSD] many Process methods may cause a segfault on FreeBSD 12.0 due to a backward incompatible change in a C type introduced in 12.0. - #1656: [Windows] Process.memory_full_info() raises AccessDenied even for the current user and os.getpid(). - #1660: [Windows] Process.open_files() complete rewrite + check of errors. - #1662: [Windows] process exe() may raise WinError 0. - #1665: [Linux] disk_io_counters() does not take into account extra fields added to recent kernels. (patch by Mike Hommey) - #1672: use the right C type when dealing with PIDs (int or long). Thus far (long) was almost always assumed, which is wrong on most platforms. - #1673: [OpenBSD] Process connections(), num_fds() and threads() returned improper exception if process is gone. - #1674: [SunOS] disk_partitions() may raise OSError. - #1684: [Linux] disk_io_counters() may raise ValueError on systems not having /proc/diskstats. - #1695: [Linux] could not compile on kernels <= 2.6.13 due to PSUTIL_HAVE_IOPRIO not being defined. (patch by Anselm Kruis)
- 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 - http://grodola.blogspot.com