Previous Topic: findpmd Command—List PMDBs on the HostNext Topic: pmd Command—Control a PMDB


listpmd Command—List Information about a PMDB

Valid in the pmd environment

The listpmd command lists information about the PMDB and its subscribers, update file, and error log. If no options are used, the command lists all subscribers of the Policy Model pmdName.

This command has the following format:

listpmd pmdName \
[{info|subscriber(subNames)|cmd(offset) \
|errors|all_errors|log}] \
[next]
cmd(offset)

Displays all commands in the update file and their offsets.

The offset indicates the location of the update inside the file. If an offset is specified, the list starts from offset. If no offset is specified, the display begins from the beginning of the update file.

Note: The update file contains updates that must be, or have been, propagated by the PMDB. The offset indicates the location of the next update that must be sent to a subscriber. The update file's initial and latest offsets are displayed.

errors|all_errors

Displays the Policy Model error log. The errors parameter displays all types of errors except non‑connection failure errors. all_errors displays all errors.

info

Displays general information about the Policy Model pmdName, including whether the Policy Model has a parent.

next

Display parts of the requested data. This option is useful when the query data is larger than the set query size.

The maximum query size is determined by the query_size configuration setting. The query size default is set at 100.

pmdname

Defines the name of the PMDB you want to list information for.

subscriber(subNames)

Lists the subscribers of the Policy Model and their status, including number of errors, availability, offset, and the next command to be propagated. The subNames parameter lets you select a subset of subscribers.

log

Displays the policy model general log file.

Example: Display PMDB subscriber information for selected subscribers

To display a list of subscribers to the myPMDB Policy Model that begin with the letters compInt, enter the following command:

listpmd myPMDB subscriber(compInt*)