#!/bin/csh -f
#
# readtime - print the fivepoint summary for read time distribution for
# each elog, one log per line. Each line begins with the file name.
#
# The output of this program can be plotted with boxplot -5
# For example,
#    readtime *.elog | boxplot -5
#
# usage: readtime <log.elog>...
#
# Where log is a NORMAL style elog, not a LOG2 type.

set P=`procdir`

foreach logfile ($*)
    echo -n $logfile " "
    elogdump -st =4 =7 $logfile | Awk -f $P/readtime.awk | fivepoint
end
