Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'python,': 0.02; 'url:pypi': 0.03; 'binary': 0.07; 'filing': 0.07; 'linux,': 0.07; 'pypi': 0.07; 'subject:ANN': 0.07; 'subject:released': 0.07; '===': 0.09; 'enhancements': 0.09; 'reference:': 0.09; 'strings.': 0.09; 'url:googlecode': 0.09; 'windows,': 0.09; 'api': 0.11; 'python': 0.11; 'bug': 0.12; 'changes': 0.15; 'windows': 0.15; "'w')": 0.16; '1.1.0': 0.16; '1024)': 0.16; '24]': 0.16; 'create:': 0.16; 'files:': 0.16; 'folks,': 0.16; 'ioerror:': 0.16; 'portable': 0.16; 'processes.': 0.16; 'retrieving': 0.16; 'to:name:python list': 0.16; 'url:display': 0.16; 'url:html)': 0.16; 'module': 0.19; 'implementing': 0.19; 'skip:f 30': 0.19; 'command': 0.22; '>>>': 0.22; 'memory': 0.22; 'network,': 0.22; '>>>': 0.24; 'versions': 0.24; '---': 0.24; 'source': 0.25; '(see': 0.26; 'fixed': 0.29; 'skip:p 30': 0.29; 'possibility': 0.29; 'url:code': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'included': 0.31; "skip:' 10": 0.31; 'url:wiki': 0.31; '"",': 0.31; '8bit%:2': 0.31; 'constant': 0.31; 'file': 0.32; 'interface': 0.32; 'open': 0.33; 'linux': 0.33; 'url:python': 0.33; 'running': 0.33; '(most': 0.33; 'announce': 0.33; 'plain': 0.33; 'problem': 0.35; 'offered': 0.35; 'objects': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'skip:f 40': 0.36; 'similar': 0.36; 'url:org': 0.36; 'example,': 0.37; 'too': 0.37; 'list': 0.37; 'skip:& 10': 0.38; 'others.': 0.38; 'url:library': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'resource': 0.38; 'recent': 0.39; 'skip:& 20': 0.39; "couldn't": 0.39; 'hosted': 0.39; 'url:action': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; '8bit%:6': 0.40; 'release': 0.40; 'extended': 0.61; 'free,': 0.61; 'new': 0.61; 'providing': 0.61; 'here:': 0.62; 'complete': 0.62; 'information': 0.63; 'such': 0.63; 'maximum': 0.63; 'url:p': 0.64; 'home': 0.69; 'limit': 0.70; 'faster.': 0.84; 'freebsd': 0.84; 'leak': 0.84; 'disks,': 0.91; 'serious': 0.97 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=qajLc2ZiTQD+q740Vyw4W27UMyumJw0GR/R0ON6O0OY=; b=yzlJVqwsM8TAAbW1z3iZVZ60hevM2wS+ckSlSl59kz9UMuZIOBsXMtW3EBXsHprLL+ OvCWmv/GzboIKFSsV03SX3FCpCE9HdHnEJYM5ORxxV+enp/DbWH4svAjlS+YZOd0Lidg wdg6x5Q8Y+N0ewpgI2FdsGQPJxVPFizpCgoOB2BIspF7kmP+Tgo0aBcGHTEHG39QtbJ3 NP4hrommu9NYfODPWhL55TXd7qW96zDsf2Y9zEPSMWPL2l5TUCh408AaQAWImpfRU4BL qYfGlA0SzmGJoOMxYzQz0Xqf2daAXxXedPqqc8Ue3/4efQ/iMoX3pep46C5zEwur827C QK+Q== X-Received: by 10.152.36.98 with SMTP id p2mr10019297laj.14.1380366061836; Sat, 28 Sep 2013 04:01:01 -0700 (PDT) MIME-Version: 1.0 From: "Giampaolo Rodola'" Date: Sat, 28 Sep 2013 13:00:41 +0200 Subject: ANN: psutil 1.1.0 released To: Python List Content-Type: multipart/alternative; boundary=089e0158b5e8c6a43b04e76f8453 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 181 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380366070 news.xs4all.nl 15978 [2001:888:2000:d::a6]:37470 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54936 --089e0158b5e8c6a43b04e76f8453 Content-Type: text/plain; charset=ISO-8859-1 Hi there folks, I'm pleased to announce the 1.1.0 release of psutil: http://code.google.com/p/psutil/ === About === psutil is a module providing an interface for retrieving information on all running processes and system utilization (CPU, memory, disks, network, users) in a portable way by using Python, implementing many functionalities offered by command line tools such as ps, top, free, netstat, lsof and others. It supports Linux, Windows, OSX, FreeBSD and Solaris with Python versions from 2.4 to 3.4. === New features === The main addition included in this new release is the possibility to set process resource limits on Linux (see "man prlimit"). This functionality is similar to what you can already do with stdlib resource module (http://docs.python.org/2/library/resource.html) but it is extended to all processes. For example, you might limit the number of files which may be opened by a process: >>> p = psutil.Process(pid) >>> p.set_rlimit(psutil.RLIMIT_NOFILE, (128, 128)) >>> files = [] >>> for x in range(200): ... files.append(open('/tmp/foo')) ... Traceback (most recent call last): File "", line 2, in IOError: [Errno 24] Too many open files: '/tmp/foo' ...or the maximum size of files that the process may create: >>> p.set_rlimit(psutil.RLIMIT_FSIZE, (1024, 1024)) >>> f = open('/tmp/foo', 'w') >>> f.write('x' * 1024) >>> f.flush() >>> f.write('x') >>> f.flush() Traceback (most recent call last): File "", line 1, in IOError: [Errno 27] File too large >>> === Main bugfixes === * Process.as_dict() return value couldn't be serialized to JSON. * [Windows] fixed a pretty serious memory leak in Process.get_memory_info(). * [Windows] Process get_children() and "name" property are an order of magnitude faster. === Other changes === * STATUS_* and CONN_* constants (returned by Process' status() and get_connections() methods respectively) have been turned from constant objects to plain Python strings. * source and Windows binary files are now hosted on PyPi Complete list of bugfixes and enhancements is here: https://psutil.googlecode.com/hg/HISTORY === Links === * Home page: http://code.google.com/p/psutil * Downloads: https://pypi.python.org/pypi?:action=display&name=psutil#downloads * 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. All the best, --- Giampaolo Rodola' http://code.google.com/p/pyftpdlib/ http://code.google.com/p/psutil/ http://code.google.com/p/pysendfile/ --089e0158b5e8c6a43b04e76f8453 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi there folks,=A0
I'm pleased to annou= nce the 1.1.0 release of psutil:=A0

=3D=3D=3D About =3D=3D=3D

psutil is a module providing an interface for retrievin= g information on all running processes and system utilization (CPU, memory,= disks, network, users) in a portable way by using Python, implementing man= y functionalities offered by command line tools such as ps, top, free, nets= tat, lsof and others.
It supports Linux, Windows, OSX, FreeBSD and Solaris with Python versi= ons from 2.4 to 3.4.


=3D=3D=3D New = features =3D=3D=3D

The main addition included in t= his new release is the possibility to set process resource limits on Linux = (see "man prlimit").
This functionality is similar to what you can already do with stdlib r= esource module (= http://docs.python.org/2/library/resource.html) but it is extended to a= ll processes.
For example, you might limit the number of files which may be opened b= y a process:

>>> p =3D psutil.Process(pid= )
>>> p.set_rlimit(psutil.RLIMIT_NOFILE, (128, 128))
>>> files =3D []
>>> for x in range(200):<= /div>
... =A0 =A0 files.append(open('/tmp/foo'))
...= =A0
Traceback (most recent call last):
=A0 File "&= lt;stdin>", line 2, in <module>
IOError: [Errno 24] Too many open files: '/tmp/foo'
=
...or the maximum size of files that the process may create:=

>>> p.set_rlimit(psutil.RLIMIT_FSIZE, (1= 024, 1024))
>>> f =3D open('/tmp/foo', 'w')
>= ;>> f.write('x' * 1024)
>>> f.flush()
>>> f.write('x')
>>> f.flush()
Traceback (most recent call last):
=A0 File "<stdin&= gt;", line 1, in <module>
IOError: [Errno 27] File too= large
>>>=A0


= =3D=3D=3D Main bugfixes =3D=3D=3D

* Process.as_dict() return value couldn't be serial= ized to JSON.
* [Windows] fixed a pretty serious memory leak in P= rocess.get_memory_info().
* [Windows] Process get_children() and = "name" property are an order of magnitude faster.



=3D=3D=3D Other changes = =3D=3D=3D

* STATUS_* and CONN_* constants (returne= d by Process' status() and get_connections() methods respectively) have= been turned from constant objects to plain Python strings.
* source and Windows binary files are now hosted on PyPi
Complete list of bugfixes and enhancements is here:=A0
https://psutil.googl= ecode.com/hg/HISTORY=A0


=3D=3D=3D Links =3D=3D=3D=A0
<= br>

Please try out this new release and let me= know if you experience any problem by filing issues on the bug tracker.=A0=

All the best,


-= -- Giampaolo Rodola'=A0

<= div> http://code.google.com/p/psuti= l/=A0
--089e0158b5e8c6a43b04e76f8453--