QA output created by 075

$ pmstore -i bin-300,bin-400,bin-500 sample.bin 500
sample.bin inst [300 or "bin-300"] old value=300 new value=500
sample.bin inst [400 or "bin-400"] old value=400 new value=500
sample.bin inst [500 or "bin-500"] old value=500 new value=500
sample.bin: pmStore: No permission to perform requested operation

$ pmstore -i bin-300,bin-400,bin-500 sample.bin 400
sample.bin inst [300 or "bin-300"] old value=300 new value=400
sample.bin inst [400 or "bin-400"] old value=400 new value=400
sample.bin inst [500 or "bin-500"] old value=500 new value=400
sample.bin: pmStore: No permission to perform requested operation

$ pmstore -i bin-300 bin-400 bin-500 sample.bin 500
sample.bin inst [300 or "bin-300"] old value=300 new value=500
sample.bin inst [400 or "bin-400"] old value=400 new value=500
sample.bin inst [500 or "bin-500"] old value=500 new value=500
sample.bin: pmStore: No permission to perform requested operation

$ pmstore -i bin-300
bin-400
bin-500 sample.bin 455
sample.bin inst [300 or "bin-300"] old value=300 new value=455
sample.bin inst [400 or "bin-400"] old value=400 new value=455
sample.bin inst [500 or "bin-500"] old value=500 new value=455
sample.bin: pmStore: No permission to perform requested operation

$ pmstore -i bin-300,bin-400,bin-500 sample.bin 234
sample.bin inst [300 or "bin-300"] old value=300 new value=234
sample.bin inst [400 or "bin-400"] old value=400 new value=234
sample.bin inst [500 or "bin-500"] old value=500 new value=234
sample.bin: pmStore: No permission to perform requested operation

$ pmstore -i bin-300,bin-400,bin-500 sample.bin 500
sample.bin inst [300 or "bin-300"] old value=300 new value=500
sample.bin inst [400 or "bin-400"] old value=400 new value=500
sample.bin inst [500 or "bin-500"] old value=500 new value=500
sample.bin: pmStore: No permission to perform requested operation

$ pmstore -i bin-300 bin-400 bin-500 sample.bin 400
Usage: pmstore [options] metricname value

General options:
  -h HOST, --host=HOST  metrics source is PMCD on host
  -L, --local-PMDA      metrics source is local connection to a PMDA
  -K SPEC, --spec-local=SPEC
                        optional additional PMDA spec for local connection
  -n FILE, --namespace=FILE
                        use an alternative PMNS
  -?, --help            show this usage message and exit

Value options:
  -f, --force           store the value even if there is no current value set
  -i INSTS, --insts=INSTS
                        restrict store to comma-separated list of instances

$ pmstore -i bin-300.bin-400.bin-500 sample.bin 400
pmLookupInDom sample.bin[bin-300.bin-400.bin-500]: Unknown or illegal instance identifier

$ pmstore -i bin-300,bin-400,bin-500 sample.bin
Usage: pmstore [options] metricname value

General options:
  -h HOST, --host=HOST  metrics source is PMCD on host
  -L, --local-PMDA      metrics source is local connection to a PMDA
  -K SPEC, --spec-local=SPEC
                        optional additional PMDA spec for local connection
  -n FILE, --namespace=FILE
                        use an alternative PMNS
  -?, --help            show this usage message and exit

Value options:
  -f, --force           store the value even if there is no current value set
  -i INSTS, --insts=INSTS
                        restrict store to comma-separated list of instances

$ pmstore -i bin-300,bin-400,bin-500 -h REMOTEHOST sample.bin 500
sample.bin inst [300 or "bin-300"] old value=300 new value=500
sample.bin inst [400 or "bin-400"] old value=400 new value=500
sample.bin inst [500 or "bin-500"] old value=500 new value=500
sample.bin: pmStore: No permission to perform requested operation

$ pmval -s 2 -i bin-300,bin-400,bin-500 sample.bin

metric:    sample.bin
host:      localhost
semantics: instantaneous value
units:     none
samples:   2
interval:  1.00 sec

    bin-300     bin-400     bin-500 
        300         400         500 
        300         400         500 

$ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin

metric:    sample.bin
host:      localhost
semantics: instantaneous value
units:     none
samples:   2
interval:  1.00 sec

    bin-300     bin-400     bin-500 
        300         400         500 
        300         400         500 

$ pmval -t 0.2 -s 2 -i bin-300 bin-400 bin-500 sample.bin

metric:    sample.bin
host:      localhost
semantics: instantaneous value
units:     none
samples:   2
interval:  0.20 sec

    bin-300     bin-400     bin-500 
        300         400         500 
        300         400         500 

$ pmval -t 0.2 -s 2 -i bin-300
bin-400
bin-500 sample.bin

metric:    sample.bin
host:      localhost
semantics: instantaneous value
units:     none
samples:   2
interval:  0.20 sec

    bin-300     bin-400     bin-500 
        300         400         500 
        300         400         500 

$ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin

metric:    sample.bin
host:      localhost
semantics: instantaneous value
units:     none
samples:   2
interval:  1.00 sec

    bin-300     bin-400     bin-500 
        300         400         500 
        300         400         500 

$ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin

metric:    sample.bin
host:      localhost
semantics: instantaneous value
units:     none
samples:   2
interval:  1.00 sec

    bin-300     bin-400     bin-500 
        300         400         500 
        300         400         500 

$ pmval -s 2 -t 0.3 -i bin-300 bin-400 bin-500 sample.bin
Error: pmval can only process one metricname at a time

Usage: pmval [options] metricname

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
  -K SPEC, --spec-local=SPEC
                        optional additional PMDA spec for local connection
  -L, --local-PMDA      metrics source is local connection to a PMDA
  --container=NAME      specify an individual container to be queried
  --derived=FILE        load derived metric definitions from FILE(s)

Reporting options:
  -d, --delay           delay, pause between updates for archive replay
  -f N, --precision=N   fixed output format with N digits precision
  -i INST, --instances=INST
                        comma-separated metrics instance list
  -r, --raw             output raw counter values (no rate conversion)
  -U FILE, --nointerp=FILE
                        non-interpolated fetching; ignores interval
  -w N, --width=N       set the width of each column of output

$ pmval -s 2 -t 0.3 -i bin-300.bin-400.bin-500 sample.bin

pmval: instance bin-300.bin-400.bin-500 not available

$ pmval -i bin-300,bin-400 -s 2 sample.bin

metric:    sample.bin
host:      localhost
semantics: instantaneous value
units:     none
samples:   2
interval:  1.00 sec

    bin-300     bin-400 
        300         400 
        300         400 
