qa: update 660 to generate index.html, fixing pcp-testsuite runs
[pcp.git] / qa / 617.out.2
blob1719eed8cf9cda2f1bda83ccf5bacc7ebd574260
1 QA output created by 617
2 dbpmda> help
3 help [ command ]
5 attr name [value]
6 attr attr# [value]
7 children metric-name
8 close
9 debug all | none
10 debug flag [ flag ... ] (flag is decimal or symbolic name)
11 desc metric
12 fetch metric [ metric ... ]
13 getdesc on | off
14 instance indom# [ number | name | "name" ]
15 name pmid#
16 namespace fname
17 open dso dsoname init_routine [ domain# ]
18 open pipe execname [ arg ... ]
19 open socket sockname
20 pmid metric-name
21 profile indom# [ all | none ]
22 profile indom# [ add | delete ] number
23 quit
24 status
25 store metric "value"
26 text metric
27 text indom indom#
28 timer on | off
29 traverse metric-name
30 wait seconds
31 watch logfilename
33 dbpmda> status
35 Namespace:              (default)
36 PMDA:                   none
37 pmDebug:                0 (none)
38 Timer:                  off
39 Getdesc:                off
41 Dump Instance Profile state=INCLUDE, 0 profiles
43 dbpmda> #a comment, this should be ignored
44 dbpmda> #test the debug and status commands
45 dbpmda> debug# a command with a trailing comment
46 debug all | none
47 debug flag [ flag ... ] (flag is decimal or symbolic name)
48 dbpmda> help debug
50 debug all | none
51 debug flag [ flag ... ] (flag is decimal or symbolic name)
53 Specify which debugging flags should be active (see pmdbg(1)).  Flags may
54 be specified as integers or by name, with multiple flags separated by
55 white space.  All flags may be selected or deselected if 'all' or 'none' is
56 specified.  The current setting is displayed by the status command.
59 dbpmda> debug all
60 dbpmda> status
62 Namespace:              (default)
63 PMDA:                   none
64 pmDebug:                -1 (all)
65 Timer:                  off
66 Getdesc:                off
68 Dump Instance Profile state=INCLUDE, 0 profiles
70 dbpmda> debug appl0 timecontrol
71 dbpmda> status
73 Namespace:              (default)
74 PMDA:                   none
75 pmDebug:                67584 ( appl0 + timecontrol )
76 Timer:                  off
77 Getdesc:                off
79 Dump Instance Profile state=INCLUDE, 0 profiles
81 dbpmda> debug none
82 dbpmda> status
84 Namespace:              (default)
85 PMDA:                   none
86 pmDebug:                0 (none)
87 Timer:                  off
88 Getdesc:                off
90 Dump Instance Profile state=INCLUDE, 0 profiles
92 dbpmda> debug blah
93 Warning: Bad debug flag (blah)
95 Namespace:              (default)
96 PMDA:                   none
97 pmDebug:                0 (none)
98 Timer:                  off
99 Getdesc:                off
101 Dump Instance Profile state=INCLUDE, 0 profiles
103 dbpmda> debug 1 blah
104 Warning: Bad debug flag (blah)
106 Namespace:              (default)
107 PMDA:                   none
108 pmDebug:                0 (none)
109 Timer:                  off
110 Getdesc:                off
112 Dump Instance Profile state=INCLUDE, 0 profiles
114 dbpmda> debug blah fetch
115 Warning: Bad debug flag (blah)
117 Namespace:              (default)
118 PMDA:                   none
119 pmDebug:                0 (none)
120 Timer:                  off
121 Getdesc:                off
123 Dump Instance Profile state=INCLUDE, 0 profiles
125 dbpmda> open pipe /blah/this_file_should_not_exist
126 openpmda: /blah/this_file_should_not_exist: No such file or directory
127 dbpmda> status
129 Namespace:              (default)
130 PMDA:                   none
131 pmDebug:                0 (none)
132 Timer:                  off
133 Getdesc:                off
135 Dump Instance Profile state=INCLUDE, 0 profiles
137 dbpmda> open dso /blah/this_file_should_not_exist blah_init 128
138 opendso: /blah/this_file_should_not_exist: No such file or directory
139 dbpmda> status
141 Namespace:              (default)
142 PMDA:                   none
143 pmDebug:                0 (none)
144 Timer:                  off
145 Getdesc:                off
147 Dump Instance Profile state=INCLUDE, 0 profiles
149 dbpmda> open pipe $PCP_PMDAS_DIR/sample/pmdasample -d 29
150 Start pmdasample PMDA: $PCP_PMDAS_DIR/sample/pmdasample -d 29
151 dbpmda> status
153 Namespace:              (default)
154 PMDA:                   $PCP_PMDAS_DIR/sample/pmdasample
155 Connection:             daemon
156 PMDA PMAPI Version:     2
157 pmDebug:                0 (none)
158 Timer:                  off
159 Getdesc:                off
161 Dump Instance Profile state=INCLUDE, 0 profiles
163 dbpmda> #test the desc command
164 dbpmda> desc
165 desc metric
166 dbpmda> desc 29.0.6
167 PMID: 29.0.6
168     Data Type: 32-bit int  InDom: 29.2 0x7400002
169     Semantics: instant  Units: none
170 dbpmda> desc sample.bin
171 PMID: 29.0.6
172     Data Type: 32-bit int  InDom: 29.2 0x7400002
173     Semantics: instant  Units: none
174 dbpmda> #test the instance command
175 dbpmda> instance
176 instance indom# [ number | name | "name" ]
177 dbpmda> instance 29.2
178 pmInDom: 29.2
179 [  0] inst: 100 name: "bin-100"
180 [  1] inst: 200 name: "bin-200"
181 [  2] inst: 300 name: "bin-300"
182 [  3] inst: 400 name: "bin-400"
183 [  4] inst: 500 name: "bin-500"
184 [  5] inst: 600 name: "bin-600"
185 [  6] inst: 700 name: "bin-700"
186 [  7] inst: 800 name: "bin-800"
187 [  8] inst: 900 name: "bin-900"
188 dbpmda> instance 29.2 300
189 pmInDom: 29.2
190 [  0] name: "bin-300"
191 dbpmda> instance 29.2 "bin-100"
192 pmInDom: 29.2
193 [  0] inst: 100
194 dbpmda> instance 29.2 "bin
195                          ^ at or near here
196 Error: Expected "
197 Type 'help' for a list of commands.
198 dbpmda> instance "bin
199                 ^ at or near here
200 Error: Syntax error
201 Type 'help' for a list of commands.
202 dbpmda> instance 30.3
203 pmInDom: 30.3
204 Error PDU: Unknown or illegal instance domain identifier
205 dbpmda> instance 29
206 pmInDom: 0.29
207 Error PDU: Unknown or illegal instance domain identifier
208 dbpmda> instance -1
209 pmInDom: PM_INDOM_NULL
210 Error PDU: Unknown or illegal instance domain identifier
211 dbpmda> #test the timer command
212 dbpmda> timer
213 timer on | off
214 dbpmda> timer on
215 dbpmda> status
217 Namespace:              (default)
218 PMDA:                   $PCP_PMDAS_DIR/sample/pmdasample
219 Connection:             daemon
220 PMDA PMAPI Version:     2
221 pmDebug:                0 (none)
222 Timer:                  on
223 Getdesc:                off
225 Dump Instance Profile state=INCLUDE, 0 profiles
227 dbpmda> timer off
228 dbpmda> status
230 Namespace:              (default)
231 PMDA:                   $PCP_PMDAS_DIR/sample/pmdasample
232 Connection:             daemon
233 PMDA PMAPI Version:     2
234 pmDebug:                0 (none)
235 Timer:                  off
236 Getdesc:                off
238 Dump Instance Profile state=INCLUDE, 0 profiles
240 dbpmda> #test the fetch command
241 dbpmda> getdesc on
242 dbpmda> fetch
243 fetch metric [ metric ... ]
244 dbpmda> fetch 29.0.6
245 PMID(s): 29.0.6
246 pmResult dump from ADDR timestamp: 0.000000 TIMEZONE numpmid: 1
247   29.0.6 (sample.bin): numval: 9 valfmt: 0 vlist[]:
248     inst [100 or ???] value 100
249     inst [200 or ???] value 200
250     inst [300 or ???] value 300
251     inst [400 or ???] value 400
252     inst [500 or ???] value 500
253     inst [600 or ???] value 600
254     inst [700 or ???] value 700
255     inst [800 or ???] value 800
256     inst [900 or ???] value 900
257 dbpmda> fetch sample.bin 29.0.5
258 PMID(s): 29.0.6 29.0.5
259 pmResult dump from ADDR timestamp: 0.000000 TIMEZONE numpmid: 2
260   29.0.6 (sample.bin): numval: 9 valfmt: 0 vlist[]:
261     inst [100 or ???] value 100
262     inst [200 or ???] value 200
263     inst [300 or ???] value 300
264     inst [400 or ???] value 400
265     inst [500 or ???] value 500
266     inst [600 or ???] value 600
267     inst [700 or ???] value 700
268     inst [800 or ???] value 800
269     inst [900 or ???] value 900
270   29.0.5 (sample.colour): numval: 3 valfmt: 0 vlist[]:
271     inst [0 or ???] value 101
272     inst [1 or ???] value 202
273     inst [2 or ???] value 303
274 dbpmda> fetch blah
275                  ^ at or near here
276 Error: Unknown metric name
277 Type 'help' for a list of commands.
278 dbpmda> fetch 29
279 Warning: PMID (0.0.29) is not defined in the PMNS
280 PMID(s): 0.0.29
281 Error PDU: Unknown or illegal metric identifier
282 dbpmda> fetch 0.29
283 Warning: PMID (0.0.29) is not defined in the PMNS
284 PMID(s): 0.0.29
285 Error PDU: Unknown or illegal metric identifier
286 dbpmda> fetch 0.1.2
287 Warning: PMID (0.1.2) is not defined in the PMNS
288 PMID(s): 0.1.2
289 Error PDU: Unknown or illegal metric identifier
290 dbpmda> #test the profile command
291 dbpmda> profile
292 profile indom# [ all | none ]
293 profile indom# [ add | delete ] number
294 dbpmda> profile 29.2 none
295 dbpmda> status
297 Namespace:              (default)
298 PMDA:                   $PCP_PMDAS_DIR/sample/pmdasample
299 Connection:             daemon
300 PMDA PMAPI Version:     2
301 pmDebug:                0 (none)
302 Timer:                  off
303 Getdesc:                on
305 Dump Instance Profile state=INCLUDE, 1 profiles
306         Profile [0] indom=121634818 [29.2] state=EXCLUDE 0 instances
308 dbpmda> fetch 29.0.6
309 PMID(s): 29.0.6
310 pmResult dump from ADDR timestamp: 0.000000 TIMEZONE numpmid: 1
311   29.0.6 (sample.bin): No values returned!
312 dbpmda> profile 29.2 add 200
313 dbpmda> status
315 Namespace:              (default)
316 PMDA:                   $PCP_PMDAS_DIR/sample/pmdasample
317 Connection:             daemon
318 PMDA PMAPI Version:     2
319 pmDebug:                0 (none)
320 Timer:                  off
321 Getdesc:                on
323 Dump Instance Profile state=INCLUDE, 1 profiles
324         Profile [0] indom=121634818 [29.2] state=EXCLUDE 1 instances
325                 Instances: [200]
327 dbpmda> fetch 29.0.6
328 PMID(s): 29.0.6
329 pmResult dump from ADDR timestamp: 0.000000 TIMEZONE numpmid: 1
330   29.0.6 (sample.bin): numval: 1 valfmt: 0 vlist[]:
331     inst [200 or ???] value 200
332 dbpmda> profile 29.2 add 250
333 dbpmda> status
335 Namespace:              (default)
336 PMDA:                   $PCP_PMDAS_DIR/sample/pmdasample
337 Connection:             daemon
338 PMDA PMAPI Version:     2
339 pmDebug:                0 (none)
340 Timer:                  off
341 Getdesc:                on
343 Dump Instance Profile state=INCLUDE, 1 profiles
344         Profile [0] indom=121634818 [29.2] state=EXCLUDE 2 instances
345                 Instances: [200] [250]
347 dbpmda> fetch 29.0.6
348 PMID(s): 29.0.6
349 pmResult dump from ADDR timestamp: 0.000000 TIMEZONE numpmid: 1
350   29.0.6 (sample.bin): numval: 1 valfmt: 0 vlist[]:
351     inst [200 or ???] value 200
352 dbpmda> profile 29.2 add 300
353 dbpmda> status
355 Namespace:              (default)
356 PMDA:                   $PCP_PMDAS_DIR/sample/pmdasample
357 Connection:             daemon
358 PMDA PMAPI Version:     2
359 pmDebug:                0 (none)
360 Timer:                  off
361 Getdesc:                on
363 Dump Instance Profile state=INCLUDE, 1 profiles
364         Profile [0] indom=121634818 [29.2] state=EXCLUDE 3 instances
365                 Instances: [200] [250] [300]
367 dbpmda> fetch 29.0.6
368 PMID(s): 29.0.6
369 pmResult dump from ADDR timestamp: 0.000000 TIMEZONE numpmid: 1
370   29.0.6 (sample.bin): numval: 2 valfmt: 0 vlist[]:
371     inst [200 or ???] value 200
372     inst [300 or ???] value 300
373 dbpmda> profile 29.2 delete 200
374 dbpmda> status
376 Namespace:              (default)
377 PMDA:                   $PCP_PMDAS_DIR/sample/pmdasample
378 Connection:             daemon
379 PMDA PMAPI Version:     2
380 pmDebug:                0 (none)
381 Timer:                  off
382 Getdesc:                on
384 Dump Instance Profile state=INCLUDE, 1 profiles
385         Profile [0] indom=121634818 [29.2] state=EXCLUDE 2 instances
386                 Instances: [250] [300]
388 dbpmda> fetch 29.0.6
389 PMID(s): 29.0.6
390 pmResult dump from ADDR timestamp: 0.000000 TIMEZONE numpmid: 1
391   29.0.6 (sample.bin): numval: 1 valfmt: 0 vlist[]:
392     inst [300 or ???] value 300
393 dbpmda> profile 29.2 all
394 dbpmda> status
396 Namespace:              (default)
397 PMDA:                   $PCP_PMDAS_DIR/sample/pmdasample
398 Connection:             daemon
399 PMDA PMAPI Version:     2
400 pmDebug:                0 (none)
401 Timer:                  off
402 Getdesc:                on
404 Dump Instance Profile state=INCLUDE, 1 profiles
405         Profile [0] indom=121634818 [29.2] state=INCLUDE 0 instances
407 dbpmda> fetch 29.0.6
408 PMID(s): 29.0.6
409 pmResult dump from ADDR timestamp: 0.000000 TIMEZONE numpmid: 1
410   29.0.6 (sample.bin): numval: 9 valfmt: 0 vlist[]:
411     inst [100 or ???] value 100
412     inst [200 or ???] value 200
413     inst [300 or ???] value 300
414     inst [400 or ???] value 400
415     inst [500 or ???] value 500
416     inst [600 or ???] value 600
417     inst [700 or ???] value 700
418     inst [800 or ???] value 800
419     inst [900 or ???] value 900
420 dbpmda> #test the text command
421 dbpmda> text
422 text metric
423 text indom indom#
424 dbpmda> text 29.0.6
425 PMID: 29.0.6
426 [Several constant instances]
427 9 instances labelled "bin-100" thru "bin-900", each with a constant
428 value of 100 thru 900.
429 dbpmda> text indom 29.2
430 pmInDom: 29.2
431 [Instance domain "bin" for sample PMDA]
432 Universally 9 instances numbered 100 .. 900 in steps of 100, and named
433 "bin-100" .. "bin-900"
434 dbpmda> text indom 29.5
435 pmInDom: 29.5
436 Error PDU: Oneline or help text is not available
437 Error PDU: Oneline or help text is not available
438 dbpmda> text blah 29.2
439                  ^ at or near here
440 Error: Unknown metric name
441 Type 'help' for a list of commands.
442 dbpmda> #test the store command
443 dbpmda> store
444 store metric "value"
445 dbpmda> store 29.0.36 "42"
446 PMID: 29.0.36
447 Getting description...
448 Getting Result Structure...
449 29.0.36: 2 -> 42
450 Sending Result...
451 dbpmda> fetch sample.write_me
452 PMID(s): 29.0.36
453 pmResult dump from ADDR timestamp: 0.000000 TIMEZONE numpmid: 1
454   29.0.36 (sample.write_me): numval: 1 valfmt: 0 vlist[]:
455    value 42
456 dbpmda> store 29.0.36
457                     ^ at or near here
458 Error: Syntax error
459 Type 'help' for a list of commands.
460 dbpmda> store 29.0.36 "57.3"
461 PMID: 29.0.36
462 Getting description...
463 Getting Result Structure...
464 Error: Value "57.3" is incompatible with metric type (PM_TYPE_32)
465 dbpmda> store 20.0.36 Warning: PMID (20.0.36) is not defined in the PMNS
467                       ^ at or near here
468 Error: Syntax error
469 Type 'help' for a list of commands.
470 dbpmda> store sample.write_me "Hello there"
471 PMID: 29.0.36
472 Getting description...
473 Getting Result Structure...
474 Error: Value "Hello there" is incompatible with metric type (PM_TYPE_32)
475 dbpmda> store 29.0.20 "3"
476 PMID: 29.0.20
477 Getting description...
478 Getting Result Structure...
479 29.0.20: 1 -> 3
480 Sending Result...
481 Error PDU: No permission to perform requested operation
482 dbpmda> store 0.0.0 Warning: PMID (0.0.0) is not defined in the PMNS
484 PMID: 0.0.0
485 Getting description...
486 Error PDU: Unknown or illegal metric identifier
487 dbpmda> store sample.aggregate.write_me "foo bar"
488 PMID: 29.0.35
489 Getting description...
490 Getting Result Structure...
491 Error: dbpmda does not support storing into AGGREGATE metrics
492 dbpmda> store sample.event.records "foo bar"
493 PMID: 29.0.136
494 Getting description...
495 Getting Result Structure...
496 Error: dbpmda does not support storing into EVENT metrics
497 dbpmda> #test the close and open commands
498 dbpmda> close
499 dbpmda> status
501 Namespace:              (default)
502 PMDA:                   none
503 pmDebug:                0 (none)
504 Timer:                  off
505 Getdesc:                on
507 Dump Instance Profile state=INCLUDE, 1 profiles
508         Profile [0] indom=121634818 [29.2] state=INCLUDE 0 instances
510 dbpmda> open dso PMDADSO sample_init 30
511 dbpmda> status
513 Namespace:              (default)
514 PMDA:                   PMDADSO
515 Connection:             dso
516 DSO Interface Version:  N
517 PMDA PMAPI Version:     2
518 pmDebug:                0 (none)
519 Timer:                  off
520 Getdesc:                on
522 Dump Instance Profile state=INCLUDE, 0 profiles
524 dbpmda> close
525 dbpmda> status
527 Namespace:              (default)
528 PMDA:                   none
529 pmDebug:                0 (none)
530 Timer:                  off
531 Getdesc:                on
533 Dump Instance Profile state=INCLUDE, 0 profiles
535 dbpmda> #other
536 dbpmda> blah
537            ^ at or near here
538 Error: Unrecognized command
539 Type 'help' for a list of commands.
540 dbpmda> quit