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

Eriol eriol at huine.org
Mon May 29 03:50:19 CEST 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