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