|
-
#!/bin/ksh
. /oracle1/.profile
ORACLE_HOME=/oracle1/product/8.1.6; export ORACLE_HOME
ORACLE_SID=THANIGAI; export ORACLE_SID
egrep "ORA-|Shut|shut" /backup/scripts/pagertest.txt>/dev/null 2>&1
if test $? -eq 0
then mailx -s "Check alert log THANIGAI for oracle errors.."
[email protected] < /backup/scripts/pagertext.log
mailx -s "Check alert Log THANIGAI for Oracle Error.. "
[email protected] < /backup/scripts/pagertest.txt
fi
~
HTH
manjunath
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|