How to prevent a Linux program from running more than once?

Viewed 12012

What is the best way to prevent a Linux program/daemon from being executed more than once at a given time?

7 Answers
Related