If you've already got the PID available just and you're running as the same UID you can use kill 0 => $pid to see if it's still running (see perldoc -f kill); otherwise you'll need to use ps or something like Proc::ProcessTable.
Update:, Gah, had the wrong name for the module.
In reply to Re: How best to see if syslogd is running?
by Fletch
in thread How best to see if syslogd is running?
by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |