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
8 $ pmstore -i bin-300,bin-400,bin-500 sample.bin 400
9 sample.bin inst [300 or "bin-300"] old value=500 new value=400
10 sample.bin inst [400 or "bin-400"] old value=500 new value=400
11 sample.bin inst [500 or "bin-500"] old value=500 new value=400
13 $ pmstore -i bin-300 bin-400 bin-500 sample.bin 500
14 sample.bin inst [300 or "bin-300"] old value=400 new value=500
15 sample.bin inst [400 or "bin-400"] old value=400 new value=500
16 sample.bin inst [500 or "bin-500"] old value=400 new value=500
20 bin-500 sample.bin 455
21 sample.bin inst [300 or "bin-300"] old value=500 new value=455
22 sample.bin inst [400 or "bin-400"] old value=500 new value=455
23 sample.bin inst [500 or "bin-500"] old value=500 new value=455
25 $ pmstore -i bin-300,bin-400,bin-500 sample.bin 234
26 sample.bin inst [300 or "bin-300"] old value=455 new value=234
27 sample.bin inst [400 or "bin-400"] old value=455 new value=234
28 sample.bin inst [500 or "bin-500"] old value=455 new value=234
30 $ pmstore -i bin-300,bin-400,bin-500 sample.bin 500
31 sample.bin inst [300 or "bin-300"] old value=234 new value=500
32 sample.bin inst [400 or "bin-400"] old value=234 new value=500
33 sample.bin inst [500 or "bin-500"] old value=234 new value=500
35 $ pmstore -i bin-300 bin-400 bin-500 sample.bin 400
36 Usage: pmstore [options] metricname value
39 -h HOST, --host=HOST metrics source is PMCD on host
40 -L, --local-PMDA metrics source is local connection to a PMDA
41 -K SPEC, --spec-local=SPEC
42 optional additional PMDA spec for local connection
43 -n FILE, --namespace=FILE
44 use an alternative PMNS
45 -V, --version display version number and exit
46 -?, --help show this usage message and exit
49 -f, --force store the value even if there is no current value set
50 -i INSTS, --insts=INSTS
51 restrict store to comma-separated list of instances
53 $ pmstore -i bin-300.bin-400.bin-500 sample.bin 400
54 pmLookupInDom sample.bin[bin-300.bin-400.bin-500]: Unknown or illegal instance identifier
56 $ pmstore -i bin-300,bin-400,bin-500 sample.bin
57 Usage: pmstore [options] metricname value
60 -h HOST, --host=HOST metrics source is PMCD on host
61 -L, --local-PMDA metrics source is local connection to a PMDA
62 -K SPEC, --spec-local=SPEC
63 optional additional PMDA spec for local connection
64 -n FILE, --namespace=FILE
65 use an alternative PMNS
66 -V, --version display version number and exit
67 -?, --help show this usage message and exit
70 -f, --force store the value even if there is no current value set
71 -i INSTS, --insts=INSTS
72 restrict store to comma-separated list of instances
74 $ pmstore -i bin-300,bin-400,bin-500 -h REMOTEHOST sample.bin 500
75 sample.bin inst [300 or "bin-300"] old value=300 new value=500
76 sample.bin inst [400 or "bin-400"] old value=400 new value=500
77 sample.bin inst [500 or "bin-500"] old value=500 new value=500
78 sample.bin: pmStore: No permission to perform requested operation
80 $ pmval -s 2 -i bin-300,bin-400,bin-500 sample.bin
84 semantics: instantaneous value
89 bin-300 bin-400 bin-500
93 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
97 semantics: instantaneous value
102 bin-300 bin-400 bin-500
106 $ pmval -t 0.2 -s 2 -i bin-300 bin-400 bin-500 sample.bin
110 semantics: instantaneous value
115 bin-300 bin-400 bin-500
119 $ pmval -t 0.2 -s 2 -i bin-300
125 semantics: instantaneous value
130 bin-300 bin-400 bin-500
134 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
138 semantics: instantaneous value
143 bin-300 bin-400 bin-500
147 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
151 semantics: instantaneous value
156 bin-300 bin-400 bin-500
160 $ pmval -s 2 -t 0.3 -i bin-300 bin-400 bin-500 sample.bin
161 pmval: error - too many arguments
162 Usage: pmval [options] metricname
165 -A TIME, --align=TIME align sample times on natural boundaries
166 -a FILE, --archive=FILE
167 metrics source is a PCP log archive
168 -g, --guimode start in GUI mode with new time control
169 -h HOST, --host=HOST metrics source is PMCD on host
170 -n FILE, --namespace=FILE
171 use an alternative PMNS
172 -O TIME, --origin=TIME
173 initial sample time within the time window
174 -p N, --guiport=N port for connection to existing time control
175 -S TIME, --start=TIME start of the time window
176 -s N, --samples=N terminate after this many samples
177 -T TIME, --finish=TIME
178 end of the time window
179 -t DELTA, --interval=DELTA
181 -Z TZ, --timezone=TZ set reporting timezone
182 -z, --hostzone set reporting timezone to local time of metrics source
183 -V, --version display version number and exit
184 -?, --help show this usage message and exit
185 -K SPEC, --spec-local=SPEC
186 optional additional PMDA spec for local connection
187 -L, --local-PMDA metrics source is local connection to a PMDA
188 --container=NAME specify an individual container to be queried
189 --derived=FILE load derived metric definitions from FILE(s)
192 -d, --delay delay, pause between updates for archive replay
193 -f N, --precision=N fixed output format with N digits precision
194 -i INST, --instances=INST
195 comma-separated metrics instance list
196 -r, --raw output raw counter values (no rate conversion)
197 -U FILE, --nointerp=FILE
198 non-interpolated fetching; ignores interval
199 -v, --verbose increase diagnostic output
200 -w N, --width=N set the width of each column of output
201 -x VALUE, --filter=VALUE
202 store to the metric before fetching (filter)
204 $ pmval -s 2 -t 0.3 -i bin-300.bin-400.bin-500 sample.bin
205 pmval: instance bin-300.bin-400.bin-500 not available
207 $ pmval -i bin-300,bin-400 -s 2 sample.bin
211 semantics: instantaneous value