ANN: psutil 0.3.0 released
Giampaolo Rodolà
g.rodola at gmail.com
Fri Jul 8 21:22:31 CEST 2011
Hi folks,
I'm pleased to announce the 0.3.0 release of psutil:
http://code.google.com/p/psutil
=== Major enhancements ===
* disk usage
* mounted disk partitions
* system per-cpu percentage utilization and times
* per-process terminal
* physical and virtual memory usage including percentage
=== New features by example ===
>>> import psutil
>>>
>>> for x in range(3):
... psutil.cpu_percent(percpu=True)
...
[4.0, 34.2]
[7.0, 8.5]
[1.2, 9.0]
>>>
>>> psutil.phymem_usage()
usage(total=4153868288, used=2854199296, free=1299668992, percent=34.6)
>>> psutil.virtmem_usage()
usage(total=2097147904, used=4096, free=2097143808, percent=0.0)
>>>
>>> psutil.get_partitions()
[partition(device='/dev/sda3', mountpoint='/', fstype='ext4'),
partition(device='/dev/sda7', mountpoint='/home', fstype='ext4')]
>>>
>>> psutil.disk_usage('/')
usage(total=21378641920, used=4809781248, free=15482871808, percent=22.5)
>>>
>>>
>>> psutil.Process(os.getpid()).terminal
'/dev/pts/0'
>>>
Also, a new examples directory showing some examples usages:
http://code.google.com/p/psutil/source/browse/#svn%2Ftrunk%2Fexamples
For a complete list of features and bug fixes see:
http://psutil.googlecode.com/svn/trunk/HISTORY
=== Links ===
* Home page: http://code.google.com/p/psutil
* Source tarball: http://psutil.googlecode.com/files/psutil-0.3.0.tar.gz
* Api Reference: http://code.google.com/p/psutil/wiki/Documentation
Please try out this new release and let me know if you experience any
problem by filing issues on the bug tracker.
Thanks in advance.
--- Giampaolo Rodola'
http://code.google.com/p/pyftpdlib/
http://code.google.com/p/psutil/
More information about the Python-announce-list
mailing list