Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   dbpmda    ( 1 )

отладчик для PMDA Performance Co-Pilot (debugger for Performance Co-Pilot PMDAs)

  Name  |  Synopsis  |    Description    |  Options  |  Examples  |  Caveat  |  Files  |  Pcp environment  |  See also  |

Описание (Description)

dbpmda is an interactive interface to the interactions between a Performance Metric Domain Agent (PMDA(3)) and the Performance Metric Collector Daemon (pmcd(1)). This allows PMDAs to be attached, initialized and exercised to test for correctness.

dbpmda interactively prompts the user for commands, many of which emulate the Protocol Data Units (PDUs) that may be sent by a pmcd(1) process. After running dbpmda, enter the command help to get a list of the available commands. The example section below illustrates a session using dbpmda to test a PMDA.

To simplify repetitive testing of a PMDA, the file .dbpmdarc in the current working directory can contain a list of commands that will be executed by dbpmda on startup, before the user is prompted to enter further commands interactively. While processing the .dbpmdarc file, interactive mode and command echoing are enabled and then reset at the end of the .dbpmdarc file (see the -i and -e command line options below).

The -f command line option prevents startup processing of a .dbpmdarc file (if it exists).

If the system supports readline(3) then this will be used to read commands when input is from a tty device, so history and command line editing are available.

As there are no timeout constraints on a PMDA while using dbpmda (as compared to pmcd(1)), another debugger like gdb(1) can be used on the PMDA process once it has been attached to dbpmda.