You can configure your pager for that.
You can also use log files for that
small example
# Check if errors encountered, if yes send mail to DBA
#
if test `cat $werrfile | wc -l` -ge 1
then
print "$HOST $ORACLE_SID errors in listener log. Error: ` cat ${werrfile}`" > mail.txt
mail Dreamz.Dreamz+page@Dreaming.com < mail.txt
rm mail.txt
mailx -s "Oracle Error: $ORACLE_SID $HOST" $ESPDBA > /dev/null < $werrfile
continue
else
echo "Successful completion of routine checkup" >> $wlogfile
echo "No Errors / Alerts Encountered" >> $wlogfile
echo "**********************************************************************" >> $wlogfile
continue
[Updated on: Mon, 18 June 2007 12:58]
Report message to a moderator