pmrep: update TODO, man page
[pcp.git] / qa / 088
blobdd92a74dbd03fb45213faf875240455cfad63315
1 #! /bin/sh
2 # PCP QA Test No. 088
3 # interpolate mode, constant values, different logging rates
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 filters
12 . ./common.product
13 . ./common.filter
15 _filter()
17 sed \
18 -e '/host:/d' \
19 -e '/start:/d' \
20 -e '/end:/d' \
21 -e 's/^..:..:..\..../TIMESTAMP /' \
22 | LC_COLLATE=POSIX sort \
23 | uniq
26 trap "rm -f $tmp.*; exit" 0 1 2 3 15
28 # real QA test starts here
29 for arch in tmparch/bar tmparch/mv-bar tmparch/noti-bar
31 pmval -U $arch \
32 -i bin-100,bin-500,bin-700,bin-900 sampledso.bin \
33 2>/dev/null | _filter
35 pmval -a $arch -t 0.5 \
36 -i bin-100,bin-500,bin-700,bin-900 sampledso.bin \
37 2>/dev/null | _filter
38 done
40 # Test for bug #500237
41 # (this should never print `end of log' - ie. there must be a timestamp,
42 # even though the single sample s1 can't have been rate converted).
44 # deal with an annoying libc error ... using TZ=:Australia/Melbourne
45 # causes the -z option to report the wrong time, at least for some
46 # times of the year
48 TZ=EST-10
49 export TZ
51 pmval -a archives/late -s1 -z sampledso.bin