ps interface or module

Anthony Baxter anthony at
Fri Jan 31 05:35:59 CET 2003

>>> David Bear wrote
> is there a python module or interface to the system process list?  I really 
> want to avoid calling ps -ax from a subshell and parsing the output.  I 
> can't seem to find anything in the python essential reference.
> any pointers?  (running on unix)

If you're running a system with /proc, you can parse that. I have a simple
module that processes Solaris /proc entries that I can post if it's useful
to people.


More information about the Python-list mailing list