3 # exercise disk statistics on localhost
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
8 # This test depends on the the local hostname and the disk configuration.
9 # To generate a new validated output file ...
10 # $ touch 008.out.`hostname | sed -e 's/\..*//'`
12 # $ mv 008.out 008.out.`hostname | sed -e 's/\..*//'`
13 # and check that the comments and the output match up.
17 echo "QA output created by $seq"
19 # get standard filters
24 # need per-host checked in results
26 host=`hostname | sed -e 's/\..*//'`
31 # (CD drive) sdf comes and goes
32 if pmprobe
-I disk.dev.total |
grep sdf
>/dev
/null
34 ln $seq.out.bozo
+cd $seq.out
36 ln $seq.out.bozo
$seq.out
40 [ -f $seq.out.
$host ] || \
41 _notrun
"No qualified results file ($seq.out.$host) for the localhost"
42 ln $seq.out.
$host $seq.out
46 trap "rm -f $tmp.*; exit" 0 1 2 3 15
48 PMCD_CONNECT_TIMEOUT
=60
49 PMCD_REQUEST_TIMEOUT
=60
50 export PMCD_CONNECT_TIMEOUT PMCD_REQUEST_TIMEOUT
54 -e '/pmResult/s/ .* numpmid/ ... numpmid/' \
55 -e '/ value /s/ value .*/ value .../'