4 # File ID: 57ae6cba-5d49-11df-ad7b-90e6ba3022ac
10 [ -d $vdtmpdir/.
] || \
12 { echo "$0: $vdtmpdir: Cannot create tempdir" >&2; exit 1; }
14 if [ "$1" = "-a" ]; then
16 for f
in `cat $logdir/.disks`; do
22 if [ ! -e $lfile ]; then
23 find $logdir/df
-name '*.log' |
sort |
xargs zcat
-f >>$lfile
26 if [ "$2" != "" ]; then
27 grep $1 $lfile |
tr '\t' ' ' |
tr -s ' ' | cut
-d ' ' -f 1,5 |
tail -$2 >$vdtmpdir/data
29 grep $1 $lfile |
tr '\t' ' ' |
tr -s ' ' | cut
-d ' ' -f 1,5 >$vdtmpdir/data
33 df
-h $1 |
grep $1 >$vdtmpdir/data.title