3 # pmlogger dumps core on repeated metric with explicit instance
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard filters
16 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
18 # real QA test starts here
20 echo "sample.long.hundred ..."
21 cat <<End-of-File >$tmp.config
22 log advisory on 200 msec {
27 pmlogger
-c $tmp.config
-T 1 -l $tmp.log
$tmp >$tmp.err
2>&1
28 cat $tmp.err
$tmp.log | _filter_pmlogger_log
29 pminfo
-a $tmp | LC_COLLATE
=POSIX
sort
30 rm -f $tmp.0 $tmp.index
$tmp.meta
33 echo "kernel.all.load ["1 minute
"] ..."
34 cat <<End-of-File >$tmp.config
35 log advisory on 200 msec {
36 kernel.all.load ["1 minute"]
37 kernel.all.load ["1 minute"]
40 pmlogger
-c $tmp.config
-T 1 -l $tmp.log
$tmp >$tmp.err
2>&1
41 cat $tmp.err
$tmp.log | _filter_pmlogger_log
42 pminfo
-a $tmp | LC_COLLATE
=POSIX
sort | .
/xlate_2_new_pmns
43 rm -f $tmp.0 $tmp.index
$tmp.meta
46 echo "kernel.all.load ..."
47 cat <<End-of-File >$tmp.config
48 log advisory on 200 msec {
53 pmlogger
-c $tmp.config
-T 1 -l $tmp.log
$tmp >$tmp.err
2>&1
54 cat $tmp.err
$tmp.log | _filter_pmlogger_log
55 pminfo
-a $tmp | LC_COLLATE
=POSIX
sort | .
/xlate_2_new_pmns
56 rm -f $tmp.0 $tmp.index
$tmp.meta