Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9092

ANN: psutil 0.3.0 released

Date 2011-07-08 21:22 +0200
Subject ANN: psutil 0.3.0 released
From Giampaolo RodolĂ  <g.rodola@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.784.1310152959.1164.python-list@python.org> (permalink)

Show all headers | View raw


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/

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

ANN: psutil 0.3.0 released Giampaolo RodolĂ  <g.rodola@gmail.com> - 2011-07-08 21:22 +0200

csiph-web