psutil v0.2.1 Release Notes
-
2011-03-20
โจ Enhancements
- 64_: per-process I/O counters (
Process.io_counters()
_). - 116_: per-process
Process.wait()
_ (wait for process to terminate and return its exit code). - 134_: per-process threads (
Process.threads()
_). - 136_:
Process.exe()
_ path on FreeBSD is now determined by asking the kernel instead of guessing it from cmdline[0]. - 137_: per-process real, effective and saved user and group ids
(
Process.gids()
_). - 140_: system boot time (
boot_time()
_). - 142_: per-process get and set niceness (priority) (
Process.nice()
_). - 143_: per-process status (
Process.status()
_). - ๐ง 147_ [Linux]: per-process I/O niceness / priority (
Process.ionice()
_). - 148_:
psutil.Popen
_ class which tidies upsubprocess.Popen
andProcess
_ class in a single interface. - ๐ 152_, [macOS]:
Process.open_files()
_ implementation has been rewritten in C and no longer relies onlsof
resulting in a 3x speedup. - ๐ 153_, [macOS]:
Process.connections()
_ implementation has been rewritten in C and no longer relies onlsof
resulting in a 3x speedup.
๐ Bug fixes
- ๐ 83_, [macOS]:
Process.cmdline()
_ is empty on macOS 64-bit. - ๐ง 130_, [Linux]: a race condition can cause
IOError
exception be raised on if process disappears betweenopen()
and the subsequentread()
call. - ๐ 145_, [Windows], [critical]:
WindowsError
was raised instead ofAccessDenied
_ when usingProcess.resume()
_ orProcess.suspend()
_. - ๐ง 146_, [Linux]:
Process.exe()
_ property can raiseTypeError
if path contains NULL bytes. - ๐ง 151_, [Linux]:
Process.exe()
_ andProcess.cwd()
_ for PID 0 return inconsistent data.
API changes
- ๐
Process
_uid
andgid
properties are deprecated in favor ofuids
andgids
properties.
- 64_: per-process I/O counters (