In message <[EMAIL PROTECTED]>, Jean-Marc Bourguet w
rites:
>PS=`ps -p $PID 2>/dev/null| tail -1 | grep named`

You might want to make this

PS=`ps -p $PID 2>/dev/null| tail -1 | grep named | grep -v grep`

so that it doesn't pick up the grep process as well.

Mike.
--
"I thought I'd something more to say."

Reply via email to