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 -?, --help show this usage message and exit
54 -f, --force store the value even if there is no current value set
55 -i INSTS, --insts=INSTS
56 restrict store to comma-separated list of instances
58 $ pmstore -i bin-300.bin-400.bin-500 sample.bin 400
59 pmLookupInDom sample.bin[bin-300.bin-400.bin-500]: Unknown or illegal instance identifier
61 $ pmstore -i bin-300,bin-400,bin-500 sample.bin
62 Usage: pmstore [options] metricname value
65 -h HOST, --host=HOST metrics source is PMCD on host
66 -L, --local-PMDA metrics source is local connection to a PMDA
67 -K SPEC, --spec-local=SPEC
68 optional additional PMDA spec for local connection
69 -n FILE, --namespace=FILE
70 use an alternative PMNS
71 -?, --help show this usage message and exit
74 -f, --force store the value even if there is no current value set
75 -i INSTS, --insts=INSTS
76 restrict store to comma-separated list of instances
78 $ pmstore -i bin-300,bin-400,bin-500 -h REMOTEHOST sample.bin 500
79 sample.bin inst [300 or "bin-300"] old value=300 new value=500
80 sample.bin inst [400 or "bin-400"] old value=400 new value=500
81 sample.bin inst [500 or "bin-500"] old value=500 new value=500
82 sample.bin: pmStore: No permission to perform requested operation
84 $ pmval -s 2 -i bin-300,bin-400,bin-500 sample.bin
88 semantics: instantaneous value
93 bin-300 bin-400 bin-500
97 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
101 semantics: instantaneous value
106 bin-300 bin-400 bin-500
110 $ pmval -t 0.2 -s 2 -i bin-300 bin-400 bin-500 sample.bin
114 semantics: instantaneous value
119 bin-300 bin-400 bin-500
123 $ pmval -t 0.2 -s 2 -i bin-300
129 semantics: instantaneous value
134 bin-300 bin-400 bin-500
138 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
142 semantics: instantaneous value
147 bin-300 bin-400 bin-500
151 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
155 semantics: instantaneous value
160 bin-300 bin-400 bin-500
164 $ pmval -s 2 -t 0.3 -i bin-300 bin-400 bin-500 sample.bin
165 pmval: error - too many arguments
166 Usage: pmval [options] metricname
169 -A TIME, --align=TIME align sample times on natural boundaries
170 -a FILE, --archive=FILE
171 metrics source is a PCP log archive
172 -g, --guimode start in GUI mode with new time control
173 -h HOST, --host=HOST metrics source is PMCD on host
174 -n FILE, --namespace=FILE
175 use an alternative PMNS
176 -O TIME, --origin=TIME
177 initial sample time within the time window
178 -p N, --guiport=N port for connection to existing time control
179 -S TIME, --start=TIME start of the time window
180 -s N, --samples=N terminate after this many samples
181 -T TIME, --finish=TIME
182 end of the time window
183 -t DELTA, --interval=DELTA
185 -Z TZ, --timezone=TZ set reporting timezone
186 -z, --hostzone set reporting timezone to local time of metrics source
187 -V, --version display version number and exit
188 -?, --help show this usage message and exit
189 -K SPEC, --spec-local=SPEC
190 optional additional PMDA spec for local connection
191 -L, --local-PMDA metrics source is local connection to a PMDA
192 --container=NAME specify an individual container to be queried
193 --derived=FILE load derived metric definitions from FILE(s)
196 -d, --delay delay, pause between updates for archive replay
197 -f N, --precision=N fixed output format with N digits precision
198 -i INST, --instances=INST
199 comma-separated metrics instance list
200 -r, --raw output raw counter values (no rate conversion)
201 -U FILE, --nointerp=FILE
202 non-interpolated fetching; ignores interval
203 -v, --verbose increase diagnostic output
204 -w N, --width=N set the width of each column of output
205 -x VALUE, --filter=VALUE
206 store to the metric before fetching (filter)
208 $ pmval -s 2 -t 0.3 -i bin-300.bin-400.bin-500 sample.bin
209 pmval: instance bin-300.bin-400.bin-500 not available
211 $ pmval -i bin-300,bin-400 -s 2 sample.bin
215 semantics: instantaneous value