pmrep: update TODO, man page
[pcp.git] / qa / 592
blob247a8a33823c09bde662d506241d05f3830d9cb7
1 #! /bin/sh
2 # PCP QA Test No. 592
3 # test new "sample.many.{count,int}" metric
5 # Copyright (c) 1995-2002 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 if [ $PCP_VER -le 20100 ]
17 then
18 echo "needs sample.many metrics" >$seq.notrun
19 echo "$seq: [not run] `cat $seq.notrun`"
20 exit 0
23 cleanup()
25 pmstore sample.many.count 5
28 trap "cleanup ; rm -f $tmp.*; exit \$status" 0 1 2 3 15
30 # real QA test starts here
32 pminfo -t sample.many.count
33 pminfo -t sample.many.int
35 pminfo -f sample.many.count
36 pminfo -f sample.many.int
37 pmstore sample.many.count 13
38 pminfo -f sample.many.count
39 pminfo -f sample.many.int