Best way to check that a process is running on a Unix system?

Eriol eriol at huine.org
Sun May 28 21:50:19 EDT 2006


Arthur Pemberton wrote:

> What is the best way to check that a process is running (or better yet
> number of instances) based on the name of the process? Would have to
> work on a unix/linux system.

Did you try pidof?

Bye,
Eriol



More information about the Python-list mailing list