How to monitor alert log

Download the jar file alert.jar

Here is a launch example, adjust to your settings:

file launch.sh

#!/bin/sh
FILE=tail_alert_pvgh2
echo Rimozione file $FILE
rm -rf $FILE
echo Tailing
tail -10000f /DUMP/pvgh2/bdump/alert_pvgh2.log > $FILE &
echo Launching java
/home/oracle/jre/1.3.1/jre/bin/java -classpath "alert.jar" generali.alert.MonitorAlert $FILE 100000 ORA- EXP- IMP-
echo Over java line