if [[ `ps -ef | grep -c /usr/tivoli/tsm/server/bin/rc.adsmserv` -lt 1 ]]; then echo "down"; fi
---------------------------------------------------------------------------------------------- Miles Purdy System Manager Farm Income Programs Directorate Winnipeg, MB, CA [EMAIL PROTECTED] ph: (204) 984-1602 fax: (204) 983-7557 "If you hold a UNIX shell up to your ear, can you hear the C?" ------------------------------------------------------------------------------------------------- >>> [EMAIL PROTECTED] 15-Mar-02 10:40:18 AM >>> I am interested in a script that mails an alert if the TSM server goes down as well. Thank You, Hana Taha Systems Analyst Parker Drilling 1401 Enclave Suite 600 Houston, Texas 77077 281-406-2486 [EMAIL PROTECTED] -----Original Message----- From: Marc Levitan [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 10:02 AM To: [EMAIL PROTECTED] Subject: script to see if TSM Server is down Hi All - Does anyone have a script that will send out an email alert if the TSM server goes down. I am running AIX 4.3.0 TSM 3.7.4 Thanks! Marc Levitan Storage Manager PFPC Global Fund Services
