Drop unused condition check
[pcp.git] / qa / 075.out
blob470eec54762648ce877e441fa94776eafd90b5ed
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
21 $ pmstore -i bin-300
22 bin-400
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
44 General options:
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
54 Value options:
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
65 General options:
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
75 Value options:
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
88 metric:    sample.bin
89 host:      localhost
90 semantics: instantaneous value
91 units:     none
92 samples:   2
93 interval:  1.00 sec
95     bin-300     bin-400     bin-500 
96         300         400         500 
97         300         400         500 
99 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
101 metric:    sample.bin
102 host:      localhost
103 semantics: instantaneous value
104 units:     none
105 samples:   2
106 interval:  1.00 sec
108     bin-300     bin-400     bin-500 
109         300         400         500 
110         300         400         500 
112 $ pmval -t 0.2 -s 2 -i bin-300 bin-400 bin-500 sample.bin
114 metric:    sample.bin
115 host:      localhost
116 semantics: instantaneous value
117 units:     none
118 samples:   2
119 interval:  0.20 sec
121     bin-300     bin-400     bin-500 
122         300         400         500 
123         300         400         500 
125 $ pmval -t 0.2 -s 2 -i bin-300
126 bin-400
127 bin-500 sample.bin
129 metric:    sample.bin
130 host:      localhost
131 semantics: instantaneous value
132 units:     none
133 samples:   2
134 interval:  0.20 sec
136     bin-300     bin-400     bin-500 
137         300         400         500 
138         300         400         500 
140 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
142 metric:    sample.bin
143 host:      localhost
144 semantics: instantaneous value
145 units:     none
146 samples:   2
147 interval:  1.00 sec
149     bin-300     bin-400     bin-500 
150         300         400         500 
151         300         400         500 
153 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
155 metric:    sample.bin
156 host:      localhost
157 semantics: instantaneous value
158 units:     none
159 samples:   2
160 interval:  1.00 sec
162     bin-300     bin-400     bin-500 
163         300         400         500 
164         300         400         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
170 General options:
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
186                         sampling interval
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)
197 Reporting options:
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
215 metric:    sample.bin
216 host:      localhost
217 semantics: instantaneous value
218 units:     none
219 samples:   2
220 interval:  1.00 sec
222     bin-300     bin-400 
223         300         400 
224         300         400