in reply to How best to see if syslogd is running?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How best to see if syslogd is running?
by bluto (Curate) on Jan 03, 2005 at 21:47 UTC |