check_lagtime()
rshstatus=`rsh -n lilo /db/p2/oracle/names9208/restart_names.sh`
if $rshstatus <>0 then
errstatus=1
mailx -s "xirsol8dr" ordba@xilinx.com >> $log_dr
else if errstatus=0
echo "status to xirsol8dr successful"
this is the logic behind what im looking to do
i want to be able to...
this is what i want to get
- IF the gap >= 10 and file /tmp/<dbname>_alert does not exist
THEN
o send an email to create a new case and dispatch to aim_dba
o Create the file /tmp/dbname_alert
If /tmp/<dbname>_alert exists and the gap <=9
? Remove the file /tmp/<dbname>_alert...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.