Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #24665
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.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; 'skip:[ 20': 0.03; 'fixes': 0.05; 'method.': 0.05; '[],': 0.07; 'calls.': 0.07; 'filing': 0.07; 'see:': 0.07; 'subject:ANN': 0.07; 'subject:released': 0.07; 'api': 0.09; 'python': 0.09; '2to3': 0.09; '8bit%:2': 0.09; '===': 0.09; '[0,': 0.09; 'cached': 0.09; 'reference:': 0.09; 'skip:[ 30': 0.09; 'url:googlecode': 0.09; 'bug': 0.10; 'ignore': 0.13; 'advance.': 0.15; '(windows)': 0.16; '...]': 0.16; '0.5.0': 0.16; 'affinity': 0.16; 'caches': 0.16; 'descriptors.': 0.16; 'folks,': 0.16; 'handles.': 0.16; 'set)': 0.16; 'skip:[ 50': 0.16; 'skip:\xa0 50': 0.16; 'to:name:python list': 0.16; 'url:documentation': 0.16; 'url:gz': 0.16; 'url:svn': 0.16; 'url:tar': 0.16; '8bit%:3': 0.17; 'skip:\xa0 30': 0.17; 'windows': 0.19; 'skip:p 30': 0.20; 'import': 0.21; 'skip:\xa0 40': 0.22; 'installation': 0.23; 'example': 0.23; 'properties': 0.24; 'header :In-Reply-To:1': 0.25; '---': 0.26; 'url:wiki': 0.26; 'message- id:@mail.gmail.com': 0.27; 'options': 0.27; 'run': 0.28; '>>>>': 0.29; 'cpu': 0.29; 'received:209.85.213.174': 0.29; 'received :mail-yx0-f174.google.com': 0.29; 'url:code': 0.29; '8bit%:5': 0.29; 'source': 0.29; 'class': 0.29; "i'm": 0.29; "skip:' 10": 0.30; 'file': 0.32; 'instances': 0.33; 'problem': 0.33; 'to:addr :python-list': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'thanks': 0.34; 'list': 0.35; 'received:209.85': 0.35; 'announce': 0.36; 'skip:p 20': 0.36; 'being': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'release': 0.39; 'header:Received:5': 0.40; 'url:5': 0.61; 'between': 0.63; 'url:p': 0.63; 'home': 0.66; 'pleased': 0.66; 'url:0': 0.67; 'accessed.': 0.84; 'windows)': 0.84; 'mount': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=YOxMV92rGu1h35xw+S17BhdTWwGxmMU0g51K4JjaB4s=; b=gxuOLksd7WDZnZcw4IHzvrCSoJ6VwM0dAMdjbaYiUNd4pL2bJWtLCyPzHFZNonmPhu cf/BqJ3YKWSQ4A0bk5s1EOQSOgIZgeOkIOU1di6g6xXHE1bEeAMMyzHpao9w2LZ0Zpiv vNVImGiYb2NK8xrNxi8r2/YyUwYq1NuyrwHOHzmchUwpC3Nsb9AiwHKSUsFu221Tgbh8 RutQUy8oddFjFAiK043JUXYR/cjSBZchrz+1ip1Wy7V1qA0+gdjLbVVpDrtKZqTXec8n FNSbsldRyLHT++RmP1NVmIyr/CQ+JU/qZplWeqh93E8OSyn3qZ9ZGN5Sk/0F0+C7fr8o cuNw== |
| MIME-Version | 1.0 |
| In-Reply-To | <CAFYqXL_0v0K2j5SuBsdL1TC5DEq665L1ePvFniPzn939QVfaKA@mail.gmail.com> |
| References | <CAFYqXL_0v0K2j5SuBsdL1TC5DEq665L1ePvFniPzn939QVfaKA@mail.gmail.com> |
| Date | Fri, 29 Jun 2012 18:59:50 +0200 |
| Subject | Re: ANN: psutil 0.5.0 released |
| From | Giampaolo Rodolà <g.rodola@gmail.com> |
| To | Python List <python-list@python.org> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| 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.1635.1340989193.4697.python-list@python.org> (permalink) |
| Lines | 99 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1340989193 news.xs4all.nl 6953 [2001:888:2000:d::a6]:45279 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:24665 |
Show key headers only | View raw
2012/6/27 Giampaolo Rodolà <g.rodola@gmail.com>:
> Hi folks,
> I'm pleased to announce the 0.5.0 release of psutil:
> http://code.google.com/p/psutil/
>
> === Major new features ===
>
> - system users
> - (Linux, Windows) process CPU affinity (get and set)
> - (POSIX) process number of opened file descriptors.
> - (Windows) process number of opened handles.
> - psutil.disk_partitions() now provides also mount options
> - new Process.as_dict() method.
> - Process.get_children(recursive=True): return all process descendants.
> - 2to3 is not longer required to run at installation time in order to
> support Python 3
> - ppid, name, exe, cmdline and create_time properties of Process class
> are now cached after being accessed.
> - psutil.process_iter() now caches Process instances between calls.
>
> For a complete list of features and bug fixes see:
> http://psutil.googlecode.com/svn/trunk/HISTORY
>
>
> === New features by example ===
>
>>>> import psutil, os
>>>>
>>>> psutil.get_users()
> [user(name='giampaolo', terminal='pts/2', host='localhost',
> started=1340737536.0),
> user(name='giampaolo', terminal='pts/3', host='localhost',
> started=1340737792.0)]
>>>>
>>>> psutil.disk_partitions()
> [partition(device='/dev/sda1', mountpoint='/', fstype='ext4', opts='rw,nosuid'),
> partition(device='/dev/sda2', mountpoint='/home', fstype='ext, opts='rw')]
>>>>
>>>> p = psutil.Process(os.getpid())
>>>> p.get_num_fds()
> 4
>>>>
>>>> p.get_num_handles() # windows only
> 254
>>>>
>>>> p.get_memory_maps()
> [mmap(path='/lib/x86_64-linux-gnu/libutil-2.15.so', rss=16384,
> anonymous=8192, swap=0),
> mmap(path='/lib/x86_64-linux-gnu/libc-2.15.so', rss=6384,
> anonymous=15, swap=0),
> mmap(path='/lib/x86_64-linux-gnu/libcrypto.so.1.0.0', rss=34124,
> anonymous=1245, swap=0),
> mmap(path='[heap]', rss=54653, anonymous=8192, swap=0),
> mmap(path='[stack]', rss=1542, anonymous=166, swap=0),
> ...]
>>>>
>>>> p.as_dict()
> {'status': 0, 'pid': 29510, 'connections': [], 'cmdline': ['python'], ...}
>>>>
>>>> p.get_cpu_affinity()
> [0, 1, 2, 3]
>>>> p.set_cpu_affinity([0])
>>>>
>>>> p.get_children(recursive=True)
> [<Process...>, <Process...>, ...]
>>>>
>
>
> === Links ===
>
> * Home page: http://code.google.com/p/psutil
> * Source tarball: http://psutil.googlecode.com/files/psutil-0.5.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/
> http://code.google.com/p/pysendfile/
A last-moment bug on Windows appeared.
Please ignore 0.5.0 version and download 0.5.1:
http://psutil.googlecode.com/files/psutil-0.5.1.tar.gz
--- 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
Re: ANN: psutil 0.5.0 released Giampaolo Rodolà <g.rodola@gmail.com> - 2012-06-29 18:59 +0200
csiph-web