[plug] results in variable
Jon Miller
jlmiller at mmtnetworks.com.au
Mon Aug 25 07:29:54 WST 2003
Thanks guys, just what the doctor ordered.
JLM
Jon L. Miller, MCNE, CNS
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
"I don't know the key to success, but the key to failure
is trying to please everybody." -Bill Cosby
>>> bernard at blackham.com.au 10:19:42 PM 24/08/2003 >>>
On Sun, Aug 24, 2003 at 09:41:23PM +0800, Craig Ringer wrote:
> 'killall -0 postfix' and testing the exit value should work. A signal
> zero should be ignored by the application - it's just used to see if you
> /can/ send a signal.
There's also the pidof program. Something like:
pidof qmgr > /dev/null
will just return 0 if it finds a process, and 1 otherwise.
HTH,
Bernard.
--
Bernard Blackham
bernard at blackham dot com dot au
More information about the plug
mailing list