1 QA output created by 075
3 $ pmstore -i bin-300,bin-400,bin-500 sample.bin 500
4 sample.bin inst [300 or "bin-300"] old value=300 new value=500
5 sample.bin inst [400 or "bin-400"] old value=400 new value=500
6 sample.bin inst [500 or "bin-500"] old value=500 new value=500
7 sample.bin: pmStore: No permission to perform requested operation
9 $ pmstore -i bin-300,bin-400,bin-500 sample.bin 400
10 sample.bin inst [300 or "bin-300"] old value=300 new value=400
11 sample.bin inst [400 or "bin-400"] old value=400 new value=400
12 sample.bin inst [500 or "bin-500"] old value=500 new value=400
13 sample.bin: pmStore: No permission to perform requested operation
15 $ pmstore -i bin-300 bin-400 bin-500 sample.bin 500
16 sample.bin inst [300 or "bin-300"] old value=300 new value=500
17 sample.bin inst [400 or "bin-400"] old value=400 new value=500
18 sample.bin inst [500 or "bin-500"] old value=500 new value=500
19 sample.bin: pmStore: No permission to perform requested operation
23 bin-500 sample.bin 455
24 sample.bin inst [300 or "bin-300"] old value=300 new value=455
25 sample.bin inst [400 or "bin-400"] old value=400 new value=455
26 sample.bin inst [500 or "bin-500"] old value=500 new value=455
27 sample.bin: pmStore: No permission to perform requested operation
29 $ pmstore -i bin-300,bin-400,bin-500 sample.bin 234
30 sample.bin inst [300 or "bin-300"] old value=300 new value=234
31 sample.bin inst [400 or "bin-400"] old value=400 new value=234
32 sample.bin inst [500 or "bin-500"] old value=500 new value=234
33 sample.bin: pmStore: No permission to perform requested operation
35 $ pmstore -i bin-300,bin-400,bin-500 sample.bin 500
36 sample.bin inst [300 or "bin-300"] old value=300 new value=500
37 sample.bin inst [400 or "bin-400"] old value=400 new value=500
38 sample.bin inst [500 or "bin-500"] old value=500 new value=500
39 sample.bin: pmStore: No permission to perform requested operation
41 $ pmstore -i bin-300 bin-400 bin-500 sample.bin 400
42 Usage: pmstore [options] metricname value
45 -h HOST, --host=HOST metrics source is PMCD on host
46 -L, --local-PMDA metrics source is local connection to a PMDA
47 -K SPEC, --spec-local=SPEC
48 optional additional PMDA spec for local connection
49 -n FILE, --namespace=FILE
50 use an alternative PMNS
51 -V, --version display version number and exit
52 -?, --help show this usage message and exit
55 -f, --force store the value even if there is no current value set
56 -i INSTS, --insts=INSTS
57 restrict store to comma-separated list of instances
59 $ pmstore -i bin-300.bin-400.bin-500 sample.bin 400
60 pmLookupInDom sample.bin[bin-300.bin-400.bin-500]: Unknown or illegal instance identifier
62 $ pmstore -i bin-300,bin-400,bin-500 sample.bin
63 Usage: pmstore [options] metricname value
66 -h HOST, --host=HOST metrics source is PMCD on host
67 -L, --local-PMDA metrics source is local connection to a PMDA
68 -K SPEC, --spec-local=SPEC
69 optional additional PMDA spec for local connection
70 -n FILE, --namespace=FILE
71 use an alternative PMNS
72 -V, --version display version number and exit
73 -?, --help show this usage message and exit
76 -f, --force store the value even if there is no current value set
77 -i INSTS, --insts=INSTS
78 restrict store to comma-separated list of instances
80 $ pmstore -i bin-300,bin-400,bin-500 -h REMOTEHOST sample.bin 500
81 sample.bin inst [300 or "bin-300"] old value=300 new value=500
82 sample.bin inst [400 or "bin-400"] old value=400 new value=500
83 sample.bin inst [500 or "bin-500"] old value=500 new value=500
84 sample.bin: pmStore: No permission to perform requested operation
86 $ pmval -s 2 -i bin-300,bin-400,bin-500 sample.bin
90 semantics: instantaneous value
95 bin-300 bin-400 bin-500
99 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
103 semantics: instantaneous value
108 bin-300 bin-400 bin-500
112 $ pmval -t 0.2 -s 2 -i bin-300 bin-400 bin-500 sample.bin
116 semantics: instantaneous value
121 bin-300 bin-400 bin-500
125 $ pmval -t 0.2 -s 2 -i bin-300
131 semantics: instantaneous value
136 bin-300 bin-400 bin-500
140 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
144 semantics: instantaneous value
149 bin-300 bin-400 bin-500
153 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
157 semantics: instantaneous value
162 bin-300 bin-400 bin-500
166 $ pmval -s 2 -t 0.3 -i bin-300 bin-400 bin-500 sample.bin
167 pmval: error - too many arguments
168 Usage: pmval [options] metricname
171 -A TIME, --align=TIME align sample times on natural boundaries
172 -a FILE, --archive=FILE
173 metrics source is a PCP log archive
174 -g, --guimode start in GUI mode with new time control
175 -h HOST, --host=HOST metrics source is PMCD on host
176 -n FILE, --namespace=FILE
177 use an alternative PMNS
178 -O TIME, --origin=TIME
179 initial sample time within the time window
180 -p N, --guiport=N port for connection to existing time control
181 -S TIME, --start=TIME start of the time window
182 -s N, --samples=N terminate after this many samples
183 -T TIME, --finish=TIME
184 end of the time window
185 -t DELTA, --interval=DELTA
187 -Z TZ, --timezone=TZ set reporting timezone
188 -z, --hostzone set reporting timezone to local time of metrics source
189 -V, --version display version number and exit
190 -?, --help show this usage message and exit
191 -K SPEC, --spec-local=SPEC
192 optional additional PMDA spec for local connection
193 -L, --local-PMDA metrics source is local connection to a PMDA
194 --container=NAME specify an individual container to be queried
195 --derived=FILE load derived metric definitions from FILE(s)
198 -d, --delay delay, pause between updates for archive replay
199 -f N, --precision=N fixed output format with N digits precision
200 -i INST, --instances=INST
201 comma-separated metrics instance list
202 -r, --raw output raw counter values (no rate conversion)
203 -U FILE, --nointerp=FILE
204 non-interpolated fetching; ignores interval
205 -v, --verbose increase diagnostic output
206 -w N, --width=N set the width of each column of output
207 -x VALUE, --filter=VALUE
208 store to the metric before fetching (filter)
210 $ pmval -s 2 -t 0.3 -i bin-300.bin-400.bin-500 sample.bin
211 pmval: instance bin-300.bin-400.bin-500 not available
213 $ pmval -i bin-300,bin-400 -s 2 sample.bin
217 semantics: instantaneous value