3 # "default" interval for pmlogger
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard filters
16 status
=1 # failure is the default!
17 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
21 # real QA test starts here
23 echo "expect 4 x one and 2 x million" |
tee -a $seq.full
24 $sudo rm -f $tmp.0 $tmp.index
$tmp.meta
26 cat <<End-of-File >$tmp.config
27 log mandatory on default sample.float.million
28 log advisory on default sample.long.million
29 log mandatory on 10 sec sample.float.one
30 log advisory on 10 sec sample.long.one
33 if pmlogger
-T 15sec
-l $tmp.log
$tmp <$tmp.config
35 cat $tmp.log
>>$seq.full
37 echo "Arrgh, pmlogger failed ..."
42 pmdumplog
$tmp | _filter_pmdumplog |
grep sample |
sort -n -k2
43 pmdumplog
$tmp >>$seq.full
46 echo "expect 4 x one and 6 x million" |
tee -a $seq.full
47 $sudo rm -f $tmp.0 $tmp.index
$tmp.meta
49 cat <<End-of-File >$tmp.config
50 log mandatory on default sample.float.million
51 log advisory on default sample.long.million
52 log mandatory on 10 sec sample.float.one
53 log advisory on 10 sec sample.long.one
56 if pmlogger
-T 15sec
-t 7 -l $tmp.log
$tmp <$tmp.config
58 cat $tmp.log
>>$seq.full
60 echo "Arrgh, pmlogger failed ..."
65 pmdumplog
$tmp | _filter_pmdumplog |
grep sample |
sort -n -k2
66 pmdumplog
$tmp >>$seq.full