Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #9092
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <g.rodola@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'bug': 0.02; 'subject:ANN': 0.02; 'subject:released': 0.03; 'fixes': 0.05; 'reference:': 0.07; 'see:': 0.07; 'url:googlecode': 0.07; 'advance.': 0.09; '===': 0.09; 'folks,': 0.09; 'skip:[ 30': 0.09; 'api': 0.11; 'examples': 0.12; 'received:209.85.214.174': 0.13; 'received:mail- iw0-f174.google.com': 0.13; '0.3.0': 0.16; 'url:documentation': 0.16; 'url:svn': 0.16; 'url:tar': 0.16; 'url:trunk': 0.16; '>>>': 0.16; 'to:2**1': 0.21; 'memory': 0.21; 'enhancements': 0.23; 'filing': 0.23; 'url:code': 0.23; 'url:wiki': 0.25; "i'm": 0.27; 'skip:p 30': 0.28; 'received:209.85.214': 0.28; 'message- id:@mail.gmail.com': 0.28; 'import': 0.29; 'problem': 0.29; '---': 0.30; 'example': 0.30; 'thanks': 0.31; 'source': 0.32; 'list': 0.32; 'to:addr:python-list': 0.34; 'usage': 0.35; 'from:charset:iso-8859-1': 0.35; 'url:source': 0.35; 'announce': 0.36; 'to:no real name:2**1': 0.37; 'disk': 0.37; 'to:addr:python- announce-list': 0.37; 'some': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'showing': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'page:': 0.40; 'url:%2f': 0.62; 'url:p': 0.63; 'pleased': 0.63; 'sfxlen:3': 0.66; 'url:3': 0.67; 'home': 0.67; 'url:%1': 0.68; 'url:0': 0.69; 'physical': 0.78; 'partitions': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=xdx7HpvXl30rh00TJhr4Rd9JTu2BxVnCuLp53fuM3sk=; b=OSNSSbN6HmUTCAfWsKNTd55WnKhXgu3VV5u4L4az5dXUrE6q4iNIel/jrgHR2petfK LjB1LUgNn4TqWcFv44iyELlK85+b5JVQfJZZvoKkgEcdQCg8j4yydumqUQgooRsjWg54 h6ymt3jisyIJKfRb0gsY0CS7yhuRo57bHARrg= |
| MIME-Version | 1.0 |
| Date | Fri, 8 Jul 2011 21:22:31 +0200 |
| Subject | ANN: psutil 0.3.0 released |
| From | Giampaolo RodolĂ <g.rodola@gmail.com> |
| To | python-list@python.org, python-announce-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.784.1310152959.1164.python-list@python.org> (permalink) |
| Lines | 64 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1310152959 news.xs4all.nl 21823 [2001:888:2000:d::a6]:57268 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:9092 |
Show key headers only | 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
ANN: psutil 0.3.0 released Giampaolo RodolĂ <g.rodola@gmail.com> - 2011-07-08 21:22 +0200
csiph-web