ADSM-L

Re: script to see if TSM Server is down

2002-03-15 11:51:49
Subject: Re: script to see if TSM Server is down
From: Miles Purdy <PURDYM AT FIPD.GC DOT CA>
Date: Fri, 15 Mar 2002 10:47:06 -0600
if [[ `ps -ef | grep -c /usr/tivoli/tsm/server/bin/rc.adsmserv` -lt 1 ]]; then 
echo "down"; fi


----------------------------------------------------------------------------------------------
-------------------
Miles Purdy 
Miles Purdy 
System Manager
Farm Income Programs Directorate
Winnipeg, MB, CA
purdym AT fipd.gc DOT ca
ph: (204) 984-1602 fax: (204) 983-7557

"If you hold a UNIX shell up to your ear, can you hear the C?"
-------------------------------------------------------------------------------------------------
----------------------
>>> Hana.Taha AT PARKERDRILLING DOT COM 15-Mar-02 10:40:18 AM >>>
>>> Hana.Taha AT PARKERDRILLING DOT COM 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
hana.taha AT parkerdrilling DOT com