ANN: psutil 0.3.0 released

Discussion in 'Python' started by Giampaolo Rodolà, Jul 8, 2011.

  1. 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/trunk/examples

    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/
    Giampaolo Rodolà, Jul 8, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Giampaolo Rodola'
    Replies:
    2
    Views:
    623
    Giampaolo Rodola'
    May 10, 2009
  2. Giampaolo Rodola'

    ANN: psutil 0.1.3 released

    Giampaolo Rodola', Mar 4, 2010, in forum: Python
    Replies:
    0
    Views:
    246
    Giampaolo Rodola'
    Mar 4, 2010
  3. Giampaolo Rodolà

    ANN: psutil 0.2.0 released

    Giampaolo Rodolà, Nov 13, 2010, in forum: Python
    Replies:
    0
    Views:
    237
    Giampaolo Rodolà
    Nov 13, 2010
  4. Giampaolo Rodolà
    Replies:
    0
    Views:
    277
    Giampaolo Rodolà
    Mar 20, 2011
  5. Giampaolo Rodolà

    ANN: psutil 0.4.0 released

    Giampaolo Rodolà, Oct 29, 2011, in forum: Python
    Replies:
    0
    Views:
    213
    Giampaolo Rodolà
    Oct 29, 2011
Loading...

Share This Page