[plug] results in variable
Bernard Blackham
bernard at blackham.com.au
Sun Aug 24 22:19:42 WST 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