Giampaolo RodolĂ  | 27 Jun 2012 21:36
Picon
Gravatar

ANN: psutil 0.5.0 released

Hi folks,
I'm pleased to announce the 0.5.0 release of psutil:
http://code.google.com/p/psutil/

=== Major new features ===

- system users
- (Linux, Windows) process CPU affinity (get and set)
- (POSIX) process number of opened file descriptors.
- (Windows) process number of opened handles.
- psutil.disk_partitions() now provides also mount options
- new Process.as_dict() method.
- Process.get_children(recursive=True): return all process descendants.
- 2to3 is not longer required to run at installation time in order to
support Python 3
- ppid, name, exe, cmdline and create_time properties of Process class
are now cached after being accessed.
- psutil.process_iter() now caches Process instances between calls.

For a complete list of features and bug fixes see:
http://psutil.googlecode.com/svn/trunk/HISTORY

=== New features by example ===

>>> import psutil, os
>>>
>>> psutil.get_users()
[user(name='giampaolo', terminal='pts/2', host='localhost',
started=1340737536.0),
 user(name='giampaolo', terminal='pts/3', host='localhost',
(Continue reading)


Gmane