pmrep: fix archive end time reporting
[pcp.git] / qa / 102.out
blob7cd1398919e66b7cf0cda669852d4c58586578f7
1 QA output created by 102
2 Waiting for pmcd to terminate ...
3 Starting pmcd ... 
4 Starting pmlogger ... 
5 Error [<stdin>, line NUM]
6 Not connected to any pmlogger instance
7 Error [<stdin>, line NUM]
8 Not connected to any pmlogger instance
9 Error [<stdin>, line NUM]
10 Syntax error
11 Warning [<stdin>, line NUM]
12 Problem with lookup for metric "barf.no.metric" ...
13 Reason: Unknown metric name
14 Logging statement ignored due to error(s)
15 Performance Co-Pilot Logger Control (pmlc), Version VERSION
17 pmlc commands
19   show loggers [@<host>]             display <pid>s of running pmloggers
20   connect _logger_id [@<host>]       connect to designated pmlogger
21   status                             information about connected pmlogger
22   query metric-list                  show logging state of metrics
23   new volume                         start a new log volume
25   log { mandatory | advisory } on <interval> _metric-list
26   log { mandatory | advisory } off _metric-list
27   log mandatory maybe _metric-list
29   timezone local|logger|'<timezone>' change reporting timezone
30   help                               print this help message
31   quit                               exit from pmlc
33   _logger_id   is  primary | <pid> | port <n>
34   _metric-list is  _metric-spec | { _metric-spec ... }
35   _metric-spec is  <metric-name> | <metric-name> [ <instance> ... ]
37 pmlc> # not connected
38 pmlc> query sample.drift
39 pmlc> advisory on 1 hour sample.drift
40 pmlc> 
41 pmlc> connect primary
42 pmlc> # incomplete - syntax error
43 pmlc> query sample.bin [
44 pmlc> query { 
45 ? sample.drift
46 ? # eat input
47 ? # up to
48 ? # next } -- curly brace
49 ? }
50 sample.drift
51     adv  off nl             
53 pmlc> query {
54 ? barf.no.metric
55 ? # suck to } ... not that one, this one ..
56 ? }
57 pmlc> 
58 pmlc> 
59 Error [<stdin>, line NUM]
60 Unexpected character '-'
61 Error [<stdin>, line NUM]
62 Syntax error
63 Performance Co-Pilot Logger Control (pmlc), Version VERSION
65 pmlc commands
67   show loggers [@<host>]             display <pid>s of running pmloggers
68   connect _logger_id [@<host>]       connect to designated pmlogger
69   status                             information about connected pmlogger
70   query metric-list                  show logging state of metrics
71   new volume                         start a new log volume
73   log { mandatory | advisory } on <interval> _metric-list
74   log { mandatory | advisory } off _metric-list
75   log mandatory maybe _metric-list
77   timezone local|logger|'<timezone>' change reporting timezone
78   help                               print this help message
79   quit                               exit from pmlc
81   _logger_id   is  primary | <pid> | port <n>
82   _metric-list is  _metric-spec | { _metric-spec ... }
83   _metric-spec is  <metric-name> | <metric-name> [ <instance> ... ]
85 pmlc> connect PID
86 pmlc> log advisory on -1 msec sample.bin [100]
87 pmlc> 
88 Log for pmlogger on HOST started DATE
90 Config parsed
91 Starting logger for host "HOST"
92 Archive basename: ARCHIVE
94 Log finished DATE
95 Logging delta (270000000 msec) cannot be bigger than 268435455 msec
96 Performance Co-Pilot Logger Control (pmlc), Version VERSION
98 pmlc commands
100   show loggers [@<host>]             display <pid>s of running pmloggers
101   connect _logger_id [@<host>]       connect to designated pmlogger
102   status                             information about connected pmlogger
103   query metric-list                  show logging state of metrics
104   new volume                         start a new log volume
106   log { mandatory | advisory } on <interval> _metric-list
107   log { mandatory | advisory } off _metric-list
108   log mandatory maybe _metric-list
110   timezone local|logger|'<timezone>' change reporting timezone
111   help                               print this help message
112   quit                               exit from pmlc
114   _logger_id   is  primary | <pid> | port <n>
115   _metric-list is  _metric-spec | { _metric-spec ... }
116   _metric-spec is  <metric-name> | <metric-name> [ <instance> ... ]
118 pmlc> connect PID
119 pmlc> log advisory on 75 hours sample.bin [100]
120 pmlc> 
121 Log for pmlogger on HOST started DATE
123 Config parsed
124 Starting logger for host "HOST"
125 Archive basename: ARCHIVE
127 Log finished DATE
128 Logging delta (-2138567296 msec) must be positive
129 Performance Co-Pilot Logger Control (pmlc), Version VERSION
131 pmlc commands
133   show loggers [@<host>]             display <pid>s of running pmloggers
134   connect _logger_id [@<host>]       connect to designated pmlogger
135   status                             information about connected pmlogger
136   query metric-list                  show logging state of metrics
137   new volume                         start a new log volume
139   log { mandatory | advisory } on <interval> _metric-list
140   log { mandatory | advisory } off _metric-list
141   log mandatory maybe _metric-list
143   timezone local|logger|'<timezone>' change reporting timezone
144   help                               print this help message
145   quit                               exit from pmlc
147   _logger_id   is  primary | <pid> | port <n>
148   _metric-list is  _metric-spec | { _metric-spec ... }
149   _metric-spec is  <metric-name> | <metric-name> [ <instance> ... ]
151 pmlc> connect PID
152 pmlc> log advisory on 599 hours sample.bin [100]
153 pmlc> 
154 Log for pmlogger on HOST started DATE
156 Config parsed
157 Starting logger for host "HOST"
158 Archive basename: ARCHIVE
160 Log finished DATE
161 Performance Co-Pilot Logger Control (pmlc), Version VERSION
163 pmlc commands
165   show loggers [@<host>]             display <pid>s of running pmloggers
166   connect _logger_id [@<host>]       connect to designated pmlogger
167   status                             information about connected pmlogger
168   query metric-list                  show logging state of metrics
169   new volume                         start a new log volume
171   log { mandatory | advisory } on <interval> _metric-list
172   log { mandatory | advisory } off _metric-list
173   log mandatory maybe _metric-list
175   timezone local|logger|'<timezone>' change reporting timezone
176   help                               print this help message
177   quit                               exit from pmlc
179   _logger_id   is  primary | <pid> | port <n>
180   _metric-list is  _metric-spec | { _metric-spec ... }
181   _metric-spec is  <metric-name> | <metric-name> [ <instance> ... ]
183 pmlc> connect PID
184 pmlc> log advisory on 1200 hours sample.bin [100]
185 pmlc> 
186 Log for pmlogger on HOST started DATE
188 Config parsed
189 Starting logger for host "HOST"
190 Archive basename: ARCHIVE
192 DATE
193 pmlc request from HOST: advisory on 25032.7 sec
194   metric: sample.dupnames.three.bin or sample.dupnames.two.bin or sample.bin
195     instance: bin-100
197 Log finished DATE
198 sample.bin currently has no instance number 333
199     - you may only specify metric instances active now.  However if no
200       instances are specified, pmlogger will use all of the instances
201       available at the time the metric is logged
202 Logging statement ignored due to error(s)
203 Performance Co-Pilot Logger Control (pmlc), Version VERSION
205 pmlc commands
207   show loggers [@<host>]             display <pid>s of running pmloggers
208   connect _logger_id [@<host>]       connect to designated pmlogger
209   status                             information about connected pmlogger
210   query metric-list                  show logging state of metrics
211   new volume                         start a new log volume
213   log { mandatory | advisory } on <interval> _metric-list
214   log { mandatory | advisory } off _metric-list
215   log mandatory maybe _metric-list
217   timezone local|logger|'<timezone>' change reporting timezone
218   help                               print this help message
219   quit                               exit from pmlc
221   _logger_id   is  primary | <pid> | port <n>
222   _metric-list is  _metric-spec | { _metric-spec ... }
223   _metric-spec is  <metric-name> | <metric-name> [ <instance> ... ]
225 pmlc> connect primary
226 pmlc> log mandatory on 1 hour { sample.bin, sample.drift, sample.seconds }
227 pmlc> query sample.bin[333]
228 pmlc> 
229 Warning [<stdin>, line NUM]
230 Problem with lookup for metric "sample.bin" ...
231 Reason: No PMCD agent for domain of request
232 Logging statement ignored due to error(s)
233 Warning [<stdin>, line NUM]
234 Problem with lookup for metric "sample.bin" ...
235 Reason: No PMCD agent for domain of request
236 Logging statement ignored due to error(s)
237 Performance Co-Pilot Logger Control (pmlc), Version VERSION
239 pmlc commands
241   show loggers [@<host>]             display <pid>s of running pmloggers
242   connect _logger_id [@<host>]       connect to designated pmlogger
243   status                             information about connected pmlogger
244   query metric-list                  show logging state of metrics
245   new volume                         start a new log volume
247   log { mandatory | advisory } on <interval> _metric-list
248   log { mandatory | advisory } off _metric-list
249   log mandatory maybe _metric-list
251   timezone local|logger|'<timezone>' change reporting timezone
252   help                               print this help message
253   quit                               exit from pmlc
255   _logger_id   is  primary | <pid> | port <n>
256   _metric-list is  _metric-spec | { _metric-spec ... }
257   _metric-spec is  <metric-name> | <metric-name> [ <instance> ... ]
259 pmlc> connect primary
260 pmlc> query sample.bin[100]
261 pmlc> query sample.bin[100]
262 pmlc> 
263 Performance Co-Pilot Logger Control (pmlc), Version VERSION
265 pmlc commands
267   show loggers [@<host>]             display <pid>s of running pmloggers
268   connect _logger_id [@<host>]       connect to designated pmlogger
269   status                             information about connected pmlogger
270   query metric-list                  show logging state of metrics
271   new volume                         start a new log volume
273   log { mandatory | advisory } on <interval> _metric-list
274   log { mandatory | advisory } off _metric-list
275   log mandatory maybe _metric-list
277   timezone local|logger|'<timezone>' change reporting timezone
278   help                               print this help message
279   quit                               exit from pmlc
281   _logger_id   is  primary | <pid> | port <n>
282   _metric-list is  _metric-spec | { _metric-spec ... }
283   _metric-spec is  <metric-name> | <metric-name> [ <instance> ... ]
285 pmlc> connect primary
286 pmlc> query sample.bin[100]
287 sample.bin
288     mand on  nl       1 hour [100 or "bin-100"]
290 pmlc> 
291 pmlc> query { sample.bin,sample.drift sample.seconds }
292 sample.bin
293     mand on  nl       1 hour [100 or "bin-100"]
294     mand on  nl       1 hour [200 or "bin-200"]
295     mand on  nl       1 hour [300 or "bin-300"]
296     mand on  nl       1 hour [400 or "bin-400"]
297     mand on  nl       1 hour [500 or "bin-500"]
298     mand on  nl       1 hour [600 or "bin-600"]
299     mand on  nl       1 hour [700 or "bin-700"]
300     mand on  nl       1 hour [800 or "bin-800"]
301     mand on  nl       1 hour [900 or "bin-900"]
303 sample.drift
304     mand on           1 hour
306 sample.seconds
307     mand on  nl       1 hour
309 pmlc> query { sample.bin sample.drift,sample.seconds }
310 sample.bin
311     mand on  nl       1 hour [100 or "bin-100"]
312     mand on  nl       1 hour [200 or "bin-200"]
313     mand on  nl       1 hour [300 or "bin-300"]
314     mand on  nl       1 hour [400 or "bin-400"]
315     mand on  nl       1 hour [500 or "bin-500"]
316     mand on  nl       1 hour [600 or "bin-600"]
317     mand on  nl       1 hour [700 or "bin-700"]
318     mand on  nl       1 hour [800 or "bin-800"]
319     mand on  nl       1 hour [900 or "bin-900"]
321 sample.drift
322     mand on           1 hour
324 sample.seconds
325     mand on  nl       1 hour
327 pmlc> query sample.bin [100,200,300 400 500,700]
328 sample.bin
329     mand on  nl       1 hour [100 or "bin-100"]
330     mand on  nl       1 hour [200 or "bin-200"]
331     mand on  nl       1 hour [300 or "bin-300"]
332     mand on  nl       1 hour [400 or "bin-400"]
333     mand on  nl       1 hour [500 or "bin-500"]
334     mand on  nl       1 hour [700 or "bin-700"]
336 pmlc> query sample.bin [100,"bin-200"]
337 sample.bin
338     mand on  nl       1 hour [100 or "bin-100"]
339     mand on  nl       1 hour [200 or "bin-200"]
341 pmlc> 
342 Performance Co-Pilot Logger Control (pmlc), Version VERSION
344 pmlc commands
346   show loggers [@<host>]             display <pid>s of running pmloggers
347   connect _logger_id [@<host>]       connect to designated pmlogger
348   status                             information about connected pmlogger
349   query metric-list                  show logging state of metrics
350   new volume                         start a new log volume
352   log { mandatory | advisory } on <interval> _metric-list
353   log { mandatory | advisory } off _metric-list
354   log mandatory maybe _metric-list
356   timezone local|logger|'<timezone>' change reporting timezone
357   help                               print this help message
358   quit                               exit from pmlc
360   _logger_id   is  primary | <pid> | port <n>
361   _metric-list is  _metric-spec | { _metric-spec ... }
362   _metric-spec is  <metric-name> | <metric-name> [ <instance> ... ]
364 pmlc> connect primary
365 pmlc> log mandatory maybe {
366 ?     sample.bin
367 ?     sample.drift, sample.seconds
368 ? }
369 pmlc> 
370 Waiting for pmcd to terminate ...
371 Starting pmcd ... 
372 Starting pmlogger ...