#!/bin/csh -f
#
# elogfull - report any elogs that overflowed or aborted; ie, that
#    do not have all E_END events in them.
#
# Even this is not a sure measure, as there are often SWAPOUT events
# after E_END.
#
# usage:
#   elogfull logfile...

if ($#argv == 0) then
	   echo usage:   elogfull logfile...
	   exit 1
endif

foreach i ($*)
	   set nprocs=`elognodes -n $i`
	   set endcount=`elogdump =6 $i | wc -l`
	   if ($nprocs != $endcount) echo $i
end
