How to get process info from python

Gardner Pomper gardner at
Mon Jun 7 19:56:06 CEST 2004


I have another newbie question for the list. I have some python scripts that
need to look at the list of processes running on the system. I am currently
just spawning a 'ps' and parsing the output. Are there any existing python
modules to do this? It would be particularly handy to have it be more
platform independent than my solution, which works only on AIX.

- Gardner

More information about the Python-list mailing list