But it only works if you have exacly one running "testd.pl".my $rc_testd = grep /testd/ , ( `ps -ef` ) ; if ($rc_testd > 1) { print "testd daemon is up and running \n" ; exit 1 ; }
In reply to Re: How to verify if a daemon is up and running ?
by Monky Python
in thread How to verify if a daemon is up and running ?
by wube
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |