in reply to
How to detect other running instances of the same program?
See
Cron Jobs That Run For Too Long
for some ideas.
Comment on
Re: How to detect other running instances of the same program?
In Section
Seekers of Perl Wisdom