3 # Check for zombie jobs (not terminated).
4 # Also scan logs for ERROR messages
6 bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
16 grep "No Jobs running." tmp/dir.out 2>&1 >/dev/null
19 echo " !!!! Zombie Jobs in Director !!!!"
20 echo " !!!! Zombie Jobs in Director !!!!" >>test.out
23 grep "No Jobs running." tmp/fd.out 2>&1 >/dev/null
26 echo " !!!! Zombie Jobs in File daemon !!!!"
27 echo " !!!! Zombie Jobs in File daemon !!!!" >>test.out
30 grep "No Jobs running." tmp/sd.out 2>&1 >/dev/null
33 echo " !!!! Zombie Jobs in Storage daemon !!!!"
34 echo " !!!! Zombie Jobs in Storage daemon !!!!" >>test.out
37 grep "ERROR" tmp/log*.out 2>&1 >/dev/null
40 echo " !!!! ERROR in log output !!!!"
41 echo " !!!! ERROR in log output !!!!" >>test.out
44 grep "Fatal Error" tmp/log*.out 2>&1 >/dev/null
47 echo " !!!! Fatal Error in log output !!!!"
48 echo " !!!! Fatal Error in log output !!!!" >>test.out