All Versions
87
Latest Version
Avg Release Cycle
46 days
Latest Release
-

Changelog History
Page 5

  • v4.4.2 Changes

    2016-10-26

    ๐Ÿ› Bug fixes

    • 931_, [critical]: psutil no longer compiles on Solaris.
  • v4.4.1 Changes

    2016-10-25

    ๐Ÿ› Bug fixes

    • 927_, [critical]: psutil.Popen_ __del__ may cause maximum recursion depth error.
  • v4.4.0 Changes

    2016-10-23

    โœจ Enhancements

    • ๐Ÿ 874_, [Windows]: make net_if_addrs()_ also return the netmask.
    • ๐Ÿง 887_, [Linux]: virtual_memory()_ 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_, [macOS], [critical]: Process.memory_maps()_ can segfault.
    • ๐ŸŽ 783_, [macOS]: Process.status()_ may erroneously return "running" for zombie processes.
    • ๐Ÿ 798_, [Windows]: Process.open_files()_ returns and empty list on Windows 10.
    • ๐Ÿง 825_, [Linux]: Process.cpu_affinity()_: fix possible double close and use of unopened socket.
    • ๐Ÿ 880_, [Windows]: fix race condition inside net_connections()_.
    • 885_: ValueError is raised if a negative integer is passed to cpu_percent()_ functions.
    • ๐Ÿง 892_, [Linux], [critical]: Process.cpu_affinity()_ with [-1] as arg raises SystemError with no error set; now ValueError is raised.
    • 906_, [BSD]: disk_partitions()_ with 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_, [macOS], [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_, [macOS]: Process.open_files()_ and Process.connections()_ methods may raise OSError with no exception set if process is gone.
    • ๐ŸŽ 916_, [macOS]: fix many compilation warnings.
  • v4.3.1 Changes

    2016-09-01

    โœจ Enhancements

    • 881_: make install now works also when using a virtual env.

    ๐Ÿ› Bug fixes

    • 854_: Process.as_dict()_ raises ValueError if passed an erroneous attrs name.
    • 857_, [SunOS]: Process.cpu_times(), Process.cpu_percent(), Process.threads()_ and Process.memory_maps()_ may raise RuntimeError if attempting to query a 64bit process with a 32bit Python. "Null" values are returned as a fallback.
    • 858_: Process.as_dict()_ should not call Process.memory_info_ex()_ because it's deprecated.
    • ๐Ÿ 863_, [Windows]: Process.memory_maps()_ truncates addresses above 32 bits.
    • ๐Ÿ 866_, [Windows]: win_service_iter()_ and services in general are not able to handle unicode service names / descriptions.
    • ๐Ÿ 869_, [Windows]: Process.wait()_ may raise TimeoutExpired_ with wrong timeout unit (ms instead of sec).
    • ๐Ÿ 870_, [Windows]: handle leak inside psutil_get_process_data.
  • v4.3.0 Changes

    2016-06-18

    โœจ Enhancements

    • ๐Ÿง 819_, [Linux]: different speedup improvements: Process.ppid()_ +20% faster. Process.status()_ +28% faster. Process.name()_ +25% faster. Process.num_threads()_ +20% faster on Python 3.

    ๐Ÿ› Bug fixes

    • ๐Ÿ 810_, [Windows]: Windows wheels are incompatible with pip 7.1.2.
    • 812_, [NetBSD], [critical]: fix compilation on NetBSD-5.x.
    • 823_, [NetBSD]: virtual_memory()_ raises TypeError on Python 3.
    • 829_, [POSIX]: disk_usage()_ percent field takes root reserved space into account.
    • ๐Ÿ 816_, [Windows]: fixed net_io_counters()_ values wrapping after 4.3GB in Windows Vista (NT 6.0) and above using 64bit values from newer win APIs.
  • v4.2.0 Changes

    2016-05-14

    โœจ Enhancements

    • ๐Ÿ 795_, [Windows]: new APIs to deal with Windows services: win_service_iter()_ and win_service_get()_.
    • ๐Ÿง 800_, [Linux]: virtual_memory()_ returns a new shared memory field.
    • ๐Ÿง 819_, [Linux]: speedup /proc parsing: Process.ppid()_ +20% faster. Process.status()_ +28% faster. Process.name()_ +25% faster. Process.num_threads()_ +20% faster on Python 3.

    ๐Ÿ› Bug fixes

    • ๐Ÿง 797_, [Linux]: net_if_stats()_ may raise OSError for certain NIC cards.
    • 813_: Process.as_dict()_ should ignore extraneous attribute names which gets attached to the Process_ instance.
  • v4.1.0 Changes

    2016-03-12

    โœจ Enhancements

    • ๐Ÿง 777_, [Linux]: Process.open_files()_ on Linux return 3 new fields: position, mode and flags.
    • 779_: Process.cpu_times()_ returns two new fields, children_user and children_system (always set to 0 on macOS and Windows).
    • ๐Ÿ 789_, [Windows]: cpu_times()_ return two new fields: interrupt and dpc. Same for cpu_times_percent()_.
    • 792_: new cpu_stats()_ function returning number of CPU ctx_switches, interrupts, soft_interrupts and syscalls.

    ๐Ÿ› Bug fixes

    • 774_, [FreeBSD]: net_io_counters()_ dropout is no longer set to 0 if the kernel provides it.
    • ๐Ÿง 776_, [Linux]: Process.cpu_affinity()_ may erroneously raise NoSuchProcess_. (patch by wxwright)
    • ๐ŸŽ 780_, [macOS]: psutil does not compile with some GCC versions.
    • 786_: net_if_addrs()_ may report incomplete MAC addresses.
    • 788_, [NetBSD]: virtual_memory()_ buffers and shared values were set to 0.
    • ๐ŸŽ 790_, [macOS], [critical]: psutil won't compile on macOS 10.4.
  • v4.0.0 Changes

    2016-02-17

    โœจ Enhancements

    • ๐Ÿง 523_, [Linux], [FreeBSD]: disk_io_counters()_ return a new busy_time field.
    • ๐Ÿ 660_, [Windows]: make.bat is smarter in finding alternative VS install locations. (patch by mpderbec)
    • 732_: Process.environ()_. (patch by Frank Benkstein)
    • ๐ŸŽ 753_, [Linux], [macOS], [Windows]: process USS and PSS (Linux) "real" memory stats. (patch by Eric Rahm)
    • 755_: Process.memory_percent()_ memtype parameter.
    • โœ… 758_: tests now live in psutil namespace.
    • ๐Ÿง 760_: expose OS constants (psutil.LINUX, psutil.OSX, etc.)
    • ๐Ÿง 756_, [Linux]: disk_io_counters()_ return 2 new fields: read_merged_count and write_merged_count.
    • 762_: new procsmem.py_ script.

    ๐Ÿ› Bug fixes

    • ๐Ÿง 685_, [Linux]: virtual_memory()_ provides wrong results on systems with a lot of physical memory.
    • 704_, [SunOS]: psutil does not compile on Solaris sparc.
    • 734_: on Python 3 invalid UTF-8 data is not correctly handled for Process.name(), Process.cwd(), Process.exe(), Process.cmdline() and Process.open_files()_ methods resulting in UnicodeDecodeError exceptions. 'surrogateescape' error handler is now used as a workaround for replacing the corrupted data.
    • ๐Ÿ 737_, [Windows]: when the bitness of psutil and the target process was different, Process.cmdline()_ and Process.cwd()_ could return a wrong result or incorrectly report an AccessDenied_ error.
    • 741_, [OpenBSD]: psutil does not compile on mips64.
    • ๐Ÿง 751_, [Linux]: fixed call to Py_DECREF on possible NULL object.
    • ๐Ÿง 754_, [Linux]: Process.cmdline()_ can be wrong in case of zombie process.
    • ๐Ÿง 759_, [Linux]: Process.memory_maps()_ may return paths ending with " (deleted)".
    • ๐Ÿ 761_, [Windows]: boot_time()_ wraps to 0 after 49 days.
    • 764_, [NetBSD]: fix compilation on NetBSD-6.x.
    • ๐Ÿง 766_, [Linux]: net_connections()_ can't handle malformed /proc/net/unix file.
    • ๐Ÿง 767_, [Linux]: disk_io_counters()_ may raise ValueError on 2.6 kernels and it's broken on 2.4 kernels.
    • 770_, [NetBSD]: disk_io_counters()_ metrics didn't update.
  • v3.4.2 Changes

    2016-01-20

    โœจ Enhancements

    • 728_, [SunOS]: exposed PROCFS_PATH_ constant to change the default location of /proc filesystem.

    ๐Ÿ› Bug fixes

    • 724_, [FreeBSD]: virtual_memory()_ total is incorrect.
    • 730_, [FreeBSD], [critical]: virtual_memory()_ crashes with "OSError: [Errno 12] Cannot allocate memory".
  • v3.4.1 Changes

    2016-01-15

    โœจ Enhancements

    • ๐Ÿ‘ 557_, [NetBSD]: added NetBSD support. (contributed by Ryo Onodera and Thomas Klausner)
    • ๐Ÿง 708_, [Linux]: net_connections()_ and Process.connections()_ on Python 2 can be up to 3x faster in case of many connections. Also Process.memory_maps()_ is slightly faster.
    • 718_: process_iter()_ is now thread safe.

    ๐Ÿ› Bug fixes

    • 714_, [OpenBSD]: virtual_memory()_ cached value was always set to 0.
    • 715_, [critical]: don't crash at import time if cpu_times()_ fail for some reason.
    • ๐Ÿง 717_, [Linux]: Process.open_files()_ fails if deleted files still visible.
    • ๐Ÿง 722_, [Linux]: swap_memory()_ no longer crashes if sin / sout can't be determined due to missing /proc/vmstat.
    • 724_, [FreeBSD]: virtual_memory()_ total is slightly incorrect.