How to find processes from Python

Cameron Simpson cs at zip.com.au
Fri Jul 25 22:23:30 EDT 2008


On 25Jul2008 11:34, Johny <python at hope.cz> wrote:
| Is there a way how to find out  running processes?E.g. how many
| Appache's processes are running?

See the popen function and use the "ps" system command.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

When asked what would I most want to try before doing it, I said Death.
        - Michael Burton, michaelb at compnews.co.uk



More information about the Python-list mailing list