3 # pmlogreduce with aggregate and event type metrics
5 # Copyright (c) 2010 Ken McDonell. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
16 status
=0 # success is the default!
17 $sudo rm -rf $tmp.
* $seq.full
18 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
20 # real QA test starts here
21 cat <<End-of-File >$tmp.config
22 log advisory on 100 msec {
29 echo "Initial archive ..."
30 pmlogger
-c $tmp.config
-s 3 $tmp
31 pminfo
-a $tmp | LC_COLLATE
=POSIX
sort
34 echo "Reduced archive ..."
35 pmlogreduce
$tmp $tmp.reduce
36 pminfo
-a $tmp.reduce | LC_COLLATE
=POSIX
sort