Get the status of a process

Gilles Lenfant nospam.glenfant at bigfoot.com
Fri Nov 28 08:02:03 EST 2003


Hi,

I'm pretty brain dead reading the python docs about the processes.

I'm looking for some pythonig way to do a...

$ ps x | grep <some_pid>

... in order to know if <some_pid> is running or not.

Thanks in advance for any hint.

--
Gilles





More information about the Python-list mailing list