ANN: Python process utility (psutil) 0.1.2 released

Giampaolo Rodola' gnewsg at gmail.com
Sun May 10 11:55:39 EDT 2009


On 9 Mag, 11:30, Nick Craig-Wood <n... at craig-wood.com> wrote:
> Giampaolo Rodola' <gne... at gmail.com> wrote:
> >  psutil is a module providing an interface for retrieving information
> >  on running processes and system utilization (CPU, memory) in a
> >  portable way by using Python, implementing many functionalities
> >  offered by tools like ps, top and Windows task manager.
> >  It currently supports Linux, OS X, FreeBSD and Windows.
>
> Very nice!
>
> Maybe you should make
>
>   Process()
>
> mean
>
>   Process(os.getpid())
>
> as I often want ask how much memory/cpu is my process using but rarely
> want to ask about other processes?
>
> It would be nice if "pydoc psutil" returned something useful also!
> You could do this by replacing your current __init__.py (which just
> contains "from _psutil import *") with _psutil.py
>
> --
> Nick Craig-Wood <n... at craig-wood.com> --http://www.craig-wood.com/nick

Thanks for the hints. I'll do that.


--- Giampaolo Rodola'
http://code.google.com/p/pyftpdlib
http://code.google.com/p/psutil/



More information about the Python-list mailing list