Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How to verify if a daemon is up and running ?

by iburrell (Chaplain)
on Dec 04, 2002 at 01:49 UTC ( #217391=note: print w/replies, xml ) Need Help??


in reply to How to verify if a daemon is up and running ?

If you are going to use system-specific ps flags, you might as go all the way and save the use of grep and parsing the ps output. With the Linux ps, you can get just the pid of the syslogd process with:
ps -C syslogd -o pid=
You can remove the current process from the list by removing the current process id in $$.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://217391]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2022-08-08 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?