psutil v0.3.0 Release Notes

  • 2011-07-08

    โœจ Enhancements

    • 125_: system per-cpu percentage utilization and times (Process.cpu_times(), Process.cpu_percent()).
    • 163_: per-process associated terminal / TTY (Process.terminal()_).
    • 171_: added get_phymem() and get_virtmem() functions returning system memory information (total, used, free) and memory percent usage. total_*, avail_* and used_* memory functions are deprecated.
    • 172_: disk usage statistics (disk_usage()_).
    • 174_: mounted disk partitions (disk_partitions()_).
    • 179_: setuptools is now used in setup.py

    ๐Ÿ› Bug fixes

    • ๐Ÿ 159_, [Windows]: SetSeDebug() does not close handles or unset impersonation on return.
    • ๐Ÿ 164_, [Windows]: wait function raises a TimeoutException when a process returns -1.
    • 165_: Process.status()_ raises an unhandled exception.
    • 166_: Process.memory_info()_ leaks handles hogging system resources.
    • 168_: cpu_percent()_ returns erroneous results when used in non-blocking mode. (patch by Philip Roberts)
    • ๐ŸŽ 178_, [macOS]: Process.threads()_ leaks memory.
    • ๐Ÿ 180_, [Windows]: Process.num_threads()_ and Process.threads()_ methods can raise NoSuchProcess_ exception while process still exists.