Giampaolo Rodola' <gne...@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...@craig-wood.com> -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to