#!/bin/csh -f
#
# diskwaittime - print the disk wait time for all disks
#
# This uses the new RTELOG_DISKWAIT events
#
# usage: diskwaittime logfile.elog

set P=`procdir`

if ($#argv != 1) then
	echo usage: diskwaittime logfile.elog
	exit 1
endif

elogdump -msu =21 $1:r | dm x4/16
