The rmdb
command displays the state of the resource manager (RM) and modifies the debug levels.
Synopsis
rmdb
[-l][-U][-s][-u]
[-d [
range
]][-g [
range
]][-f [
range
]][-c [
range
]][-C [
range
]][-T [
range
]][-P [
range
]][-q [
range
] [-m][-S][-D][-i
interval
][-v][-tL
levelMask
][-tA
levelMask
] [-tc
channel
] [-tC
channel
]
Description
The rmdb displays the state of the resource manager and modifies the debug levels. The valid syntax for ranges is as follows:
value [-value] [, value] | [value-value]*
Specifying a value an odd number of times indicates it is displayed. Specifying a value an even number of times indicates it is not displayed. For example, 7-10,9
displays the items associated with values 7, 8, and 10. The 9th entry is excluded because it is specified two times.
The rmdb
command accepts the following arguments:
Argument |
Description |
Comments |
-l |
Takes the rmLOCK while sampling data structures. This ensures that the sample is internally consistent. However, if the RM data structures are left in a locked state, this causes the rmdb to block until they are unlocked. (Leaving the rm data structures locked is a system fault). |
Other processes that attempt to use the RM data structures are temporarily blocked until rmdb completes its query |
-U |
Releases rmLOCK unconditionally |
|
-s |
Prints the values of the RM parameters and debug variables |
|
-u |
Prints function's usage statistics |
|
-d |
Prints device table entries by device number |
|
-g |
Prints out group lists (by index in the group table) |
|
-f |
Prints out the function table (by index in the function table) |
|
-c |
Prints out the card table (by card # in the card table) |
|
-C |
Prints out the channel table (by channel number) |
|
-T |
Prints out the channel touch-tone queues (by channel #) |
|
-P |
Prints out channel profiles (by channel #) |
|
-q |
Prints the message queue table entries by qkey |
|
-m |
Prints message headers and contents for message queues identified with the -q option |
This option is available only to root |
-S |
Prints the timeslot table |
|
-D |
Audits the dynamic resources structures |
|
-i |
Repeats the display, with a sleep interval of the specified number of seconds between samples |
|
-v |
Dumps the visit execution profile |
|
The -tL levelMask argument sets the trace level mask. Supported masks are:
Mask |
Value |
RM_TL_ERROR |
0x1 |
RM_TL_GENERAL |
0x2 |
RM_TL_ENTEREXIT |
0x4 |
The -tA levelMask argument sets the trace area mask. Supported masks are:
Mask |
Value |
RM_TA_TIMER |
0x1 |
RM_TA_RESOURCE |
0x2 |
RM_TA_INPUT |
0x4 |
RM_TA_PROFILE |
0x8 |
RM_TA_MTC |
0x10 |
RM_TA_MSG |
0x20 |
RM_TA_INTERNAL |
0x40 |
The -tc channel argument sets the trace channel low end.
The -tC channel argument sets the trace channel high end.