conathan at conet.dyndns.org
Tue Mar 9 15:54:02 PST 2004
[Still unverified, but looking at man pidof, makes sense]
pidof says, if you say something like
pidof -x postfix,
it'll pick up the postfix initscript as well.
One of the notes in the bottom, says if you pass it the full path, it'll
only check that specific file.
[Aka, /usr/sbin/postfix instead of postfix]
(Probably every script is like that, I only gave that one as an example).
pidof -x [filename]
if there are pids,
say [ATTN] running
More information about the blfs-dev