in reply to
Getting PID and Process Name
I'm not sure about your particular case, but you may want to take a look at
Proc::PID::File
for a general module from CPAN to manage pid files (it handles creating, verifying, and destroying PID files.)
Regards,
techy
Comment on
Re: Getting PID and Process Name
In Section
Seekers of Perl Wisdom