diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
commit | 47e6e7c84f008a53061e661f31ae96629bc694ef (patch) | |
tree | 648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /qa/978.out | |
download | pcp-debian.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'qa/978.out')
-rw-r--r-- | qa/978.out | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/qa/978.out b/qa/978.out new file mode 100644 index 0000000..c215eda --- /dev/null +++ b/qa/978.out @@ -0,0 +1,71 @@ +QA output created by 978 +== verify usage message generation +Usage: pcp [options] [[...] command [...]] + +Summary Options: + -a FILE, --archive=FILE + metrics source is a PCP log archive + -h HOST, --host=HOST metrics source is PMCD on host + -n FILE, --namespace=FILE + use an alternative PMNS + -P, --pmie display pmie evaluation statistics + -?, --help show this usage message and exit + +Command Options: + -h HOST, --host=HOST metrics source is PMCD on host + -n FILE, --namespace=FILE + use an alternative PMNS + -A TIME, --align=TIME align sample times on natural boundaries + -a FILE, --archive=FILE + metrics source is a PCP log archive + -g start in GUI mode with new time control + -n FILE use an alternative PMNS + -O TIME initial sample time within the time window + -p N port for connection to existing time control + -S TIME start of the time window + -s N terminate after this many samples + -T TIME end of the time window + -t DELTA sampling interval + -Z TZ, --timezone=TZ set reporting timezone + -z set reporting timezone to local time of metrics source + +Anything beyond "End" will simply be appended to the usage message. + +Anything at all. +== verify handling of -a xxx -h yyy +-a 'xxx' -h 'yyy' +== verify handling of -z -g --timezone TZ +-z -g -Z 'TZ' +== verify usage message generation without getopt +Usage: pcpqa [options] archive + +Options: + -A TIME, --align=TIME align sample times on natural boundaries + -O TIME, --origin=TIME + initial sample time within the time window + -n FILE, --namespace=FILE + use an alternative PMNS + -d, --delay pause between updates for archive replay + -f N, --fixed=N fixed output format with N digits precision + --origin=TIME initial sample time within the time window + -t delta, --samples=delta + sampling interval + -r, --raw output raw counter values (no rate conversion) + -s N terminate after this many samples + -u non-interpolated fetching; ignores interval + --width set the width of each column of output + -?, --help show this usage message and exit +== verify handling of mixing short and long options +-d -f '5' -- '/a/b/pcplog' +== verify handling of spaces and single quotes +-- '/a/b/pcp log' '/c/d/foo'\''bar' +== verify handling of an invalid option +-? -- '/a/b/pcplog' +== verify handling of archive folios and host/archive lists +Usage: pcpqa [options] +Options: + --host-list=HOSTS comma-separated list of metric source hosts + --archive-list=FILES comma-separated list of metric source archives + --archive-folio=FILE read metric source archives from a folio + -?, --help show this usage message and exit +--archive-folio '20071023-08-06-36.folio' |