pmrep: fix archive end time reporting
[pcp.git] / qa / 443.out
blob58a42147ad2879c3e69e0835b27f80e594d81611
1 QA output created by 443
2 === -a foo -a bar ===
3 pmevent: error - no metricname specified
4 Usage: pmevent [options] metricname
5 === -h foo -h bar ===
6 pmevent: too many hosts requested: bar
7 Usage: pmevent [options] metricname
8 === -a foo -h bar ===
9 pmevent: only one host or archive allowed
10 Usage: pmevent [options] metricname
11 === -h foo -a bar ===
12 pmevent: only one host or archive allowed
13 Usage: pmevent [options] metricname
14 === -D blah ===
15 pmevent: unrecognized debug flag specification (blah)
16 Usage: pmevent [options] metricname
17 === -g -p 1234 ===
18 pmevent: at most one of -g and -p allowed
19 Usage: pmevent [options] metricname
20 === -p 1234 -g ===
21 pmevent: at most one of -g and -p allowed
22 Usage: pmevent [options] metricname
23 === -p 123foo ===
24 pmevent: error - no metricname specified
25 Usage: pmevent [options] metricname
26 === -K blah,a,/no/such/file,no_init ===
27 pmevent: __pmSpecLocalPMDA failed: bad op in spec
28 Usage: pmevent [options] metricname
29 === -s 456bar ===
30 pmevent: -s requires numeric argument
31 Usage: pmevent [options] metricname
32 === -s 3 -T+5min ===
33 pmevent: at most one of -T and -s allowed
34 Usage: pmevent [options] metricname
35 === -T+5min -s 10 ===
36 pmevent: at most one of -T and -s allowed
37 Usage: pmevent [options] metricname
38 === -t 10foobars ===
39 pmevent: -t argument not in pmParseInterval(3) format:
40 10foobars
41   ^ -- unexpected value
43 Usage: pmevent [options] metricname
44 === -Z GMT -z ===
45 pmevent: at most one of -Z and -z allowed
46 Usage: pmevent [options] metricname
47 === -z -Z EST ===
48 pmevent: at most one of -Z and -z allowed
49 Usage: pmevent [options] metricname
50 === -q ===
51 pmevent: invalid option -- 'q'
52 Usage: pmevent [options] metricname
53 === -a foo ===
54 pmevent: error - no metricname specified
55 Usage: pmevent [options] metricname
57 --- bad metric spec ---
58 === /some/path/no/metric/ ===
59 /some/path/no/metric/
60                      ^ -- performance metric name expected
61 Usage: pmevent [options] metricname
62 === somehost_and_no_metric: ===
63 somehost_and_no_metric:
64                        ^ -- performance metric name expected
65 Usage: pmevent [options] metricname
67 --- illegal mixed sources ---
68 === archives/eventrec-old/sample.event.records foo/bar ===
69 pmevent: error - too many arguments
70 Usage: pmevent [options] metricname
71 === -a /some/path foo:bar ===
72 pmevent: only one host or archive allowed
73 Usage: pmevent [options] metricname
74 === -a archives/eventrec-old archives/eventrec-old/sample.event.records foo/bar ===
75 pmevent: error - too many arguments
76 Usage: pmevent [options] metricname
77 === localhost:sample.event.records foo:bar ===
78 pmevent: error - too many arguments
79 Usage: pmevent [options] metricname
80 === -h somehost foo/bar ===
81 pmevent: only one host or archive allowed
82 Usage: pmevent [options] metricname
83 === -h localhost localhost:sample.event.records foo:bar ===
84 pmevent: error - too many arguments
85 Usage: pmevent [options] metricname
86 === @:sampledso.event.records foo:bar ===
87 pmevent: error - too many arguments
88 Usage: pmevent [options] metricname
90 --- problems at source of metrics ---
91 === -h no.such.host.pcp.io sample.event.records ===
92 pmevent: Cannot connect to PMCD on host "no.such.host.pcp.io": No route to host
93 === -a /no/such/archive sample.event.records ===
94 pmevent: Cannot open archive "/no/such/archive": No such file or directory
95 === -L sample.event.records ===
96 pmevent: pmLookupDesc: No PMCD agent for domain of request
97 === -Dappl0 sample.event.no_indom_records[red] ===
98 pmevent: sample.event.no_indom_records: singular metrics do not have instances
100 --- should be ok ---
101 === -t 10msec -s 1 sample.event.records ===
102 host:      localhost
103 samples:   1
104 sample.event.records[fungus]: 0 event records
105 sample.event.records[bogus]: 2 event records
106   TIMESTAMP --- event record [0] flags 0x1 (point) ---
107     sample.event.param_string "fetch #0"
108   TIMESTAMP --- event record [1] flags 0x1 (point) ---
109     sample.event.param_string "bingo!"
110 === -t 10msec -s 8 sample.event.records ===
111 host:      localhost
112 samples:   8
113 interval:  0.01 sec
114 sample.event.records[fungus]: 0 event records
115 sample.event.records[bogus]: 2 event records
116   TIMESTAMP --- event record [0] flags 0x1 (point) ---
117     sample.event.param_string "fetch #0"
118   TIMESTAMP --- event record [1] flags 0x1 (point) ---
119     sample.event.param_string "bingo!"
120 sample.event.records[fungus]: 1 event records
121   TIMESTAMP --- event record [0] flags 0x1 (point) ---
122 sample.event.records[bogus]: 1 event records
123   TIMESTAMP --- event record [0] flags 0x1 (point) ---
124     sample.event.param_string "fetch #1"
125 sample.event.records[fungus]: 2 event records
126   TIMESTAMP --- event record [0] flags 0x1 (point) ---
127     sample.event.type 1
128   TIMESTAMP --- event record [1] flags 0x1 (point) ---
129     sample.event.type 2
130     sample.event.param_64 -3
131 sample.event.records[bogus]: 1 event records
132   TIMESTAMP --- event record [0] flags 0x1 (point) ---
133     sample.event.param_string "fetch #2"
134 sample.event.records[fungus]: 5 event records
135   TIMESTAMP --- event record [0] flags 0x1a (start,id,parent) ---
136     sample.event.type 4
137     sample.event.param_u64 5
138     sample.event.param_string "6"
139   TIMESTAMP --- event record [1] flags 0x1 (point) ---
140     sample.event.type 7
141     sample.event.param_double 8
142     sample.event.param_double -9
143   TIMESTAMP --- event record [2] flags 0x4 (end) ---
144     sample.event.type 10
145     sample.event.param_u64 11
146     sample.event.param_string "twelve"
147     sample.event.param_string "thirteen"
148     sample.event.param_32 -14
149     sample.event.param_u32 15
150   TIMESTAMP --- event record [3] flags 0x80000000 (missed) ---
151     ==> 7 missed event records
152   TIMESTAMP --- event record [4] flags 0x1 (point) ---
153     sample.event.type 16
154     sample.event.param_float -17
155     sample.event.param_aggregate [0103070f1f3f7fff]
156 sample.event.records[bogus]: 2 event records
157   TIMESTAMP --- event record [0] flags 0x1 (point) ---
158     sample.event.param_string "fetch #3"
159   TIMESTAMP --- event record [1] flags 0x1 (point) ---
160     sample.event.param_string "bingo!"
161 sample.event.records[fungus]: 0 event records
162 sample.event.records[bogus]: 1 event records
163   TIMESTAMP --- event record [0] flags 0x1 (point) ---
164     sample.event.param_string "fetch #4"
165 sample.event.records[fungus]: 1 event records
166   TIMESTAMP --- event record [0] flags 0x1 (point) ---
167 sample.event.records[bogus]: 1 event records
168   TIMESTAMP --- event record [0] flags 0x1 (point) ---
169     sample.event.param_string "fetch #5"
170 sample.event.records[fungus]: 2 event records
171   TIMESTAMP --- event record [0] flags 0x1 (point) ---
172     sample.event.type 1
173   TIMESTAMP --- event record [1] flags 0x1 (point) ---
174     sample.event.type 2
175     sample.event.param_64 -3
176 sample.event.records[bogus]: 2 event records
177   TIMESTAMP --- event record [0] flags 0x1 (point) ---
178     sample.event.param_string "fetch #6"
179   TIMESTAMP --- event record [1] flags 0x1 (point) ---
180     sample.event.param_string "bingo!"
181 sample.event.records[fungus]: 5 event records
182   TIMESTAMP --- event record [0] flags 0x1a (start,id,parent) ---
183     sample.event.type 4
184     sample.event.param_u64 5
185     sample.event.param_string "6"
186   TIMESTAMP --- event record [1] flags 0x1 (point) ---
187     sample.event.type 7
188     sample.event.param_double 8
189     sample.event.param_double -9
190   TIMESTAMP --- event record [2] flags 0x4 (end) ---
191     sample.event.type 10
192     sample.event.param_u64 11
193     sample.event.param_string "twelve"
194     sample.event.param_string "thirteen"
195     sample.event.param_32 -14
196     sample.event.param_u32 15
197   TIMESTAMP --- event record [3] flags 0x80000000 (missed) ---
198     ==> 7 missed event records
199   TIMESTAMP --- event record [4] flags 0x1 (point) ---
200     sample.event.type 16
201     sample.event.param_float -17
202     sample.event.param_aggregate [0103070f1f3f7fff]
203 sample.event.records[bogus]: 1 event records
204   TIMESTAMP --- event record [0] flags 0x1 (point) ---
205     sample.event.param_string "fetch #7"
206 === -t 10msec -s 3 sample.event.records[bogus] ===
207 host:      localhost
208 samples:   3
209 interval:  0.01 sec
210 sample.event.records[bogus]: 2 event records
211   TIMESTAMP --- event record [0] flags 0x1 (point) ---
212     sample.event.param_string "fetch #0"
213   TIMESTAMP --- event record [1] flags 0x1 (point) ---
214     sample.event.param_string "bingo!"
215 sample.event.records[bogus]: 1 event records
216   TIMESTAMP --- event record [0] flags 0x1 (point) ---
217     sample.event.param_string "fetch #1"
218 sample.event.records[bogus]: 1 event records
219   TIMESTAMP --- event record [0] flags 0x1 (point) ---
220     sample.event.param_string "fetch #2"
222 --- archive exercises ---
223 === -z archives/eventrec-old/sample.event.records ===
224 Note: timezone set to local timezone of host "bozo" from archive
226 archive:   archives/eventrec-old
227 host:      bozo
228 start:     Sat Dec  4 15:26:09 2010
229 end:       Sat Dec  4 15:26:14 2010
230 samples:   all
231 15:26:10.073  sample.event.records: 5 event records
232   15:26:00.073 --- event record [0] ---
233     sample.event.type 4
234     sample.event.param_u64 5
235     sample.event.param_string "6"
236   15:26:01.073 --- event record [1] ---
237     sample.event.type 7
238     sample.event.param_double 8
239     sample.event.param_double -9
240   15:26:02.073 --- event record [2] flags 0x2 (start) ---
241     sample.event.type 10
242     sample.event.param_u64 11
243     sample.event.param_string "twelve"
244     sample.event.param_string "thirteen"
245     sample.event.param_32 -14
246     sample.event.param_u32 15
247   15:26:03.073 --- event record [3] flags 0x80000000 (missed) ---
248     ==> 7 missed event records
249   15:26:04.073 --- event record [4] ---
250     sample.event.type 16
251     sample.event.param_float -17
252     sample.event.param_aggregate [0103070f1f3f7fff]
253 15:26:11.073  sample.event.records: 0 event records
254 15:26:12.074  sample.event.records: 1 event records
255   15:26:02.073 --- event record [0] ---
256     ==> No parameters
257 15:26:13.073  sample.event.records: 2 event records
258   15:26:03.073 --- event record [0] ---
259     sample.event.type 1
260   15:26:04.073 --- event record [1] flags 0x1 (point) ---
261     sample.event.type 2
262     sample.event.param_64 -3
263 15:26:14.073  sample.event.records: 5 event records
264   15:26:04.073 --- event record [0] ---
265     sample.event.type 4
266     sample.event.param_u64 5
267     sample.event.param_string "6"
268   15:26:05.073 --- event record [1] ---
269     sample.event.type 7
270     sample.event.param_double 8
271     sample.event.param_double -9
272   15:26:06.073 --- event record [2] flags 0x2 (start) ---
273     sample.event.type 10
274     sample.event.param_u64 11
275     sample.event.param_string "twelve"
276     sample.event.param_string "thirteen"
277     sample.event.param_32 -14
278     sample.event.param_u32 15
279   15:26:07.073 --- event record [3] flags 0x80000000 (missed) ---
280     ==> 7 missed event records
281   15:26:08.073 --- event record [4] ---
282     sample.event.type 16
283     sample.event.param_float -17
284     sample.event.param_aggregate [0103070f1f3f7fff]
285 === -z -S@15:26:11.073 -s 2 -a archives/eventrec-old sample.event.records ===
286 Note: timezone set to local timezone of host "bozo" from archive
288 archive:   archives/eventrec-old
289 host:      bozo
290 start:     Sat Dec  4 15:26:11 2010
291 end:       Sat Dec  4 15:26:14 2010
292 samples:   2
293 15:26:11.073  sample.event.records: 0 event records
294 15:26:12.074  sample.event.records: 1 event records
295   15:26:02.073 --- event record [0] ---
296     ==> No parameters
297 === -z -O+2.5 -T+4.5 -a archives/eventrec-old sample.event.records ===
298 Note: timezone set to local timezone of host "bozo" from archive
300 archive:   archives/eventrec-old
301 host:      bozo
302 start:     Sat Dec  4 15:26:11 2010
303 end:       Sat Dec  4 15:26:13 2010
304 samples:   all
305 15:26:12.074  sample.event.records: 1 event records
306   15:26:02.073 --- event record [0] ---
307     ==> No parameters
308 15:26:13.073  sample.event.records: 2 event records
309   15:26:03.073 --- event record [0] ---
310     sample.event.type 1
311   15:26:04.073 --- event record [1] flags 0x1 (point) ---
312     sample.event.type 2
313     sample.event.param_64 -3
315 --- highres events ---
316 === -z archives/eventrec/sample.event.highres_records ===
317 Note: timezone set to local timezone of host "smash" from archive
319 archive:   archives/eventrec
320 host:      smash
321 start:     Thu Nov 13 12:00:50 2014
322 end:       Thu Nov 13 12:00:55 2014
323 samples:   all
324 12:00:51.556  sample.event.highres_records[fungus]: 0 event records
325 sample.event.highres_records[bogus]: 2 event records
326   12:00:51.555941984 --- event record [0] flags 0x1 (point) ---
327     sample.event.param_string "fetch #0"
328   12:00:51.555941984 --- event record [1] flags 0x1 (point) ---
329     sample.event.param_string "bingo!"
330 12:00:52.555  sample.event.highres_records[fungus]: 1 event records
331   12:00:42.555871929 --- event record [0] flags 0x1 (point) ---
332 sample.event.highres_records[bogus]: 1 event records
333   12:00:52.555874181 --- event record [0] flags 0x1 (point) ---
334     sample.event.param_string "fetch #1"
335 12:00:53.555  sample.event.highres_records[fungus]: 2 event records
336   12:00:43.555914894 --- event record [0] flags 0x1 (point) ---
337     sample.event.type 1
338   12:00:44.555914894 --- event record [1] flags 0x1 (point) ---
339     sample.event.type 2
340     sample.event.param_64 -3
341 sample.event.highres_records[bogus]: 1 event records
342   12:00:53.555920898 --- event record [0] flags 0x1 (point) ---
343     sample.event.param_string "fetch #2"
344 12:00:54.555  sample.event.highres_records[fungus]: 5 event records
345   12:00:44.555893310 --- event record [0] flags 0x1a (start,id,parent) ---
346     sample.event.type 4
347     sample.event.param_u64 5
348     sample.event.param_string "6"
349   12:00:45.555893310 --- event record [1] flags 0x1 (point) ---
350     sample.event.type 7
351     sample.event.param_double 8
352     sample.event.param_double -9
353   12:00:46.555893310 --- event record [2] flags 0x4 (end) ---
354     sample.event.type 10
355     sample.event.param_u64 11
356     sample.event.param_string "twelve"
357     sample.event.param_string "thirteen"
358     sample.event.param_32 -14
359     sample.event.param_u32 15
360   12:00:47.555893310 --- event record [3] flags 0x80000000 (missed) ---
361     ==> 0 missed event records
362   12:00:48.555893310 --- event record [4] flags 0x1 (point) ---
363     sample.event.type 16
364     sample.event.param_float -17
365     sample.event.param_aggregate [0103070f1f3f7fff]
366 sample.event.highres_records[bogus]: 2 event records
367   12:00:54.555905229 --- event record [0] flags 0x1 (point) ---
368     sample.event.param_string "fetch #3"
369   12:00:54.555905229 --- event record [1] flags 0x1 (point) ---
370     sample.event.param_string "bingo!"
371 12:00:55.555  sample.event.highres_records[fungus]: 0 event records
372 sample.event.highres_records[bogus]: 1 event records
373   12:00:55.555886181 --- event record [0] flags 0x1 (point) ---
374     sample.event.param_string "fetch #4"