3 # Test out instance handling for pmlogsummary
5 # Copyright (c) 2010 Aconex. 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 sed -e '/^pmcd.pmlogger.port/d'
24 # real QA test starts here
27 echo "Every metric, every instance"
28 pmlogsummary tmparch
/bar | _filter
31 echo "Single noindom metric, no instances"
32 pmlogsummary tmparch
/bar
'sampledso.milliseconds'
35 echo "Single noindom metric, bad instances"
36 pmlogsummary tmparch
/bar
'sampledso.milliseconds[bad]'
39 echo "Single indom metric, all instances"
40 pmlogsummary tmparch
/bar
'sampledso.bin'
43 echo "Single indom metric, one instance"
44 pmlogsummary tmparch
/bar
'sampledso.bin[bin-900]'
47 echo "Single indom metric, bad instance"
48 pmlogsummary tmparch
/bar
'sampledso.bin[bad]'