my $rc_testd = grep /testd/ , ( `ps -ef` ) ; if ($rc_testd > 1) { print "testd daemon is up and running \n" ; exit 1 ; }