pmrep: update TODO, man page
[pcp.git] / qa / 165
blobbf1171746c245d49328e1eda20f6ef3d3e5e796e
1 #! /bin/sh
2 # PCP QA Test No. 165
3 # pmval -f checkout
5 # Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
12 . ./common.product
13 . ./common.filter
14 . ./common.check
16 status=0 # success is the default!
17 $sudo rm -rf $tmp.*
18 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
20 # real QA test starts here
22 echo "=== kernel.all.load - instantaneous ==="
23 for arg in "" "-f 0" "-f 3" "-f 0 -w 6" "-w 9 -f 3"
25 echo
26 echo "--- arg $arg ---"
27 pmval $arg -z -a archives/kenj-pc-1 -t 1min -s 4 kernel.all.load
28 done
30 echo
31 echo "=== irix.network.interface.total.packets - counter ==="
32 for arg in "" "-f 0" "-f 1" "-w 4 -f 0" "-w 6 -f 2"
34 echo
35 echo "--- arg $arg ---"
36 pmval $arg -z -a archives/changeinst -t 1sec -s 4 irix.network.interface.total.packets
37 done
39 # success, all done
40 exit