Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54936
| 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 | <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; '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'" <g.rodola@gmail.com> |
| Date | Sat, 28 Sep 2013 13:00:41 +0200 |
| Subject | ANN: psutil 1.1.0 released |
| To | Python List <python-list@python.org> |
| 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 <python-list.python.org> |
| List-Unsubscribe | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.407.1380366070.18130.python-list@python.org> (permalink) |
| 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 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
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 "<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, (1024, 1024))
>>> f = open('/tmp/foo', 'w')
>>> f.write('x' * 1024)
>>> f.flush()
>>> f.write('x')
>>> f.flush()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
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/
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
ANN: psutil 1.1.0 released "Giampaolo Rodola'" <g.rodola@gmail.com> - 2013-09-28 13:00 +0200
csiph-web