Thanks to the many that responded with a solution. I am now able to create a script that can check the status of a service. Obviously this script can only check to see if a port (connected to a particular service) is open. ##START SCRIPT## #/bin/sh telnet $HOST $PORT > /dev/null 2>&1 << END clo END RETVAL=$? if [ $RETVAL = 0 ]; then echo FAILED else echo SUCCESS fi ##END SCRIPT## Ben _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Jun 27 09:40:07 2002
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:47 EST