pmrep: update TODO, man page
[pcp.git] / qa / 075.out
blob1098d40650b221795546d7631bbe075902f957d3
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   -?, --help            show this usage message and exit
53 Value options:
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
64 General options:
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
73 Value options:
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
86 metric:    sample.bin
87 host:      localhost
88 semantics: instantaneous value
89 units:     none
90 samples:   2
91 interval:  1.00 sec
93     bin-300     bin-400     bin-500 
94         300         400         500 
95         300         400         500 
97 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
99 metric:    sample.bin
100 host:      localhost
101 semantics: instantaneous value
102 units:     none
103 samples:   2
104 interval:  1.00 sec
106     bin-300     bin-400     bin-500 
107         300         400         500 
108         300         400         500 
110 $ pmval -t 0.2 -s 2 -i bin-300 bin-400 bin-500 sample.bin
112 metric:    sample.bin
113 host:      localhost
114 semantics: instantaneous value
115 units:     none
116 samples:   2
117 interval:  0.20 sec
119     bin-300     bin-400     bin-500 
120         300         400         500 
121         300         400         500 
123 $ pmval -t 0.2 -s 2 -i bin-300
124 bin-400
125 bin-500 sample.bin
127 metric:    sample.bin
128 host:      localhost
129 semantics: instantaneous value
130 units:     none
131 samples:   2
132 interval:  0.20 sec
134     bin-300     bin-400     bin-500 
135         300         400         500 
136         300         400         500 
138 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
140 metric:    sample.bin
141 host:      localhost
142 semantics: instantaneous value
143 units:     none
144 samples:   2
145 interval:  1.00 sec
147     bin-300     bin-400     bin-500 
148         300         400         500 
149         300         400         500 
151 $ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
153 metric:    sample.bin
154 host:      localhost
155 semantics: instantaneous value
156 units:     none
157 samples:   2
158 interval:  1.00 sec
160     bin-300     bin-400     bin-500 
161         300         400         500 
162         300         400         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
168 General options:
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
184                         sampling interval
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)
195 Reporting options:
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
213 metric:    sample.bin
214 host:      localhost
215 semantics: instantaneous value
216 units:     none
217 samples:   2
218 interval:  1.00 sec
220     bin-300     bin-400 
221         300         400 
222         300         400