QA output created by 625
== Exercise scanning for the default localhost archives
End of option processing
Options structure dump:
    version: 2
    flags: 0x3 (init,done)
    errors: 0
    context: 0x2 (archive)
    nhosts: 0
    narchives: 1
    archives: TMPDIR/pmlogger/DEFAULT_HOST
    start: -
    finish: -
    origin: -
    interval: -
    align_optarg: -
    start_optarg: -
    finish_optarg: -
    origin_optarg: today
    guiport_optarg: -
    timezone: -
    samples: 0
    guiport: 0
    guiflag: 0
    tzflag: 0
    Lflag: 0

== Check default path not used with an explicit archive
End of option processing
Options structure dump:
    version: 2
    flags: 0x3 (init,done)
    errors: 0
    context: 0x2 (archive)
    nhosts: 0
    narchives: 1
    archives: DEFAULT_HOST
    start: -
    finish: -
    origin: -
    interval: -
    align_optarg: -
    start_optarg: -
    finish_optarg: -
    origin_optarg: today
    guiport_optarg: -
    timezone: -
    samples: 0
    guiport: 0
    guiflag: 0
    tzflag: 0
    Lflag: 0

== Check default path not used with an explicit hostname
Warning: usage error detected
getoptions: time window options are supported for archives only
Usage: getoptions [options]

General options:
  -A TIME, --align=TIME align sample times on natural boundaries
  -a FILE, --archive=FILE
                        metrics source is a PCP log archive
  -g, --guimode         start in GUI mode with new time control
  -h HOST, --host=HOST  metrics source is PMCD on host
  -n FILE, --namespace=FILE
                        use an alternative PMNS
  -O TIME, --origin=TIME
                        initial sample time within the time window
  -p N, --guiport=N     port for connection to existing time control
  -S TIME, --start=TIME start of the time window
  -s N, --samples=N     terminate after this many samples
  -T TIME, --finish=TIME
                        end of the time window
  -t DELTA, --interval=DELTA
                        sampling interval
  -Z TZ, --timezone=TZ  set reporting timezone
  -z, --hostzone        set reporting timezone to local time of metrics source
  -V, --version         display version number and exit
  -?, --help            show this usage message and exit

Context options:
  -K SPEC, --spec-local=SPEC
                        optional additional PMDA spec for local connection
  -L, --local-PMDA      metrics source is local connection to a PMDA
  -H FILE, --hostsfile=FILE
                        read metric source hosts from a file
  --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

Testing options:
  -x, --extra           an extra option, for testing
  -X ARG, --eXtra=ARG   an extra option with an argument
  -y                    a short-option-only without argument
  -Y N                  a short-option-only with an argument
  --fubar               a long-option-only without argument
  --foobar=N            a long-option-only with an argument
End of option processing
Options structure dump:
    version: 2
    flags: 0xb (init,done,usage_err)
    errors: 1
    context: 0x1 (host)
    nhosts: 1
    hosts: DEFAULT_HOST
    narchives: 0
    start: -
    finish: -
    origin: -
    interval: -
    align_optarg: -
    start_optarg: -
    finish_optarg: -
    origin_optarg: today
    guiport_optarg: -
    timezone: -
    samples: 0
    guiport: 0
    guiflag: 0
    tzflag: 0
    Lflag: 0

== Check default path not used with local context option
Warning: usage error detected
getoptions: time window options are supported for archives only
Usage: getoptions [options]

General options:
  -A TIME, --align=TIME align sample times on natural boundaries
  -a FILE, --archive=FILE
                        metrics source is a PCP log archive
  -g, --guimode         start in GUI mode with new time control
  -h HOST, --host=HOST  metrics source is PMCD on host
  -n FILE, --namespace=FILE
                        use an alternative PMNS
  -O TIME, --origin=TIME
                        initial sample time within the time window
  -p N, --guiport=N     port for connection to existing time control
  -S TIME, --start=TIME start of the time window
  -s N, --samples=N     terminate after this many samples
  -T TIME, --finish=TIME
                        end of the time window
  -t DELTA, --interval=DELTA
                        sampling interval
  -Z TZ, --timezone=TZ  set reporting timezone
  -z, --hostzone        set reporting timezone to local time of metrics source
  -V, --version         display version number and exit
  -?, --help            show this usage message and exit

Context options:
  -K SPEC, --spec-local=SPEC
                        optional additional PMDA spec for local connection
  -L, --local-PMDA      metrics source is local connection to a PMDA
  -H FILE, --hostsfile=FILE
                        read metric source hosts from a file
  --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

Testing options:
  -x, --extra           an extra option, for testing
  -X ARG, --eXtra=ARG   an extra option with an argument
  -y                    a short-option-only without argument
  -Y N                  a short-option-only with an argument
  --fubar               a long-option-only without argument
  --foobar=N            a long-option-only with an argument
End of option processing
Options structure dump:
    version: 2
    flags: 0xb (init,done,usage_err)
    errors: 1
    context: 0x3 (local)
    nhosts: 0
    narchives: 0
    start: -
    finish: -
    origin: -
    interval: -
    align_optarg: -
    start_optarg: -
    finish_optarg: -
    origin_optarg: today
    guiport_optarg: -
    timezone: -
    samples: 0
    guiport: 0
    guiflag: 0
    tzflag: 0
    Lflag: 1

== Exercise simple pmval use with a default archive path
Note: timezone set to local timezone of host "snort" from archive

metric:    disk.dev.read
archive:   TMPDIR/pmlogger/DEFAULT_HOST
host:      snort
start:     Thu May 26 12:37:15 2005
end:       Thu May 26 12:37:30 2005
semantics: cumulative counter (converting to rate)
units:     count (converting to count / sec)
samples:   4
interval:  5.00 sec

              dks0d1      dks9d1      dks9d2      dks0d2      dks1d1      dks9d3      dks0d3      dks1d2      dks9d4      dks0d4      dks0d5      dks1d3      dks1d4      dks1d5      dks9d6    
12:37:20.000     0.0         0.4000      0.0         2.400       2.400      10.40        1.800      10.40        1.600       0.0         1.800       1.600       0.0         1.600       0.0    
12:37:25.000     0.0         0.0         0.0         3.200       3.200       0.4000      1.200       0.4000      4.600       0.0         4.400       0.2000      0.0         1.400       0.0    
12:37:30.000     0.0         0.0         0.0         4.600       4.800       1.600       4.000       1.800       5.200       0.0         5.200       3.000       0.0         4.000       0.0    

