pmrep: update TODO, man page
[pcp.git] / qa / 204
blob00d3eac5482fb49f1bb8b978201887aa68876860
1 #! /bin/sh
2 # PCP QA Test No. 204
3 # localhost in archive label .. not!
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 trap "rm -f $tmp.*; exit" 0 1 2 3 15
17 _filter()
19 pmdumplog -l $tmp \
20 | grep host \
21 | sed -e "s/metrics from host .*/metrics from host REALHOSTNAME/"
24 # real QA test starts here
26 rm -f $tmp.*
27 echo
28 echo "pmlogger with no -h"
29 echo "log mandatory on 10msec hinv.ncpu" | pmlogger -s 1 $tmp >/dev/null 2>&1
30 _filter
32 rm -f $tmp.*
33 echo
34 echo "pmlogger -h localhost"
35 echo "log mandatory on 10msec hinv.ncpu" | pmlogger -h localhost -s 1 $tmp >/dev/null 2>&1
36 _filter