HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
strdb(1M) strdb(1M)
NAME
strdb - STREAMS debugging tool
SYNOPSIS
strdb [ system ]
DESCRIPTION
strdb symbolically displays the contents of various STREAMS data structures. The argument system
allows substitutes for the default /stand/vmunix. strdb can only handle a 32-bit kernel actually
running on a system. For crash dumps and for 64-bit kernels, use the q4 debugger.
strdb runs in two modes, STREAMS subsystem and primary. STREAMS subsystem commands report
the status of open streams. Primary commands display STREAMS data structures.
In a typical strdb session, you will do the following:
• Run strdb. When strdb starts up, you are in primary mode.
• Execute the :S command to enter STREAMS subsystem mode.
• Enter STREAMS subsystem commands such as s
, d, and la to find the open stream you want to
examine.
• Enter the qh command to select a stream and display the stream head read queue. This command
returns you to primary mode.
• Enter primary mode navigation keys to display fields in the stream head read queue, and traverse
the rest of the stream’s queues.
The following commands are available in primary mode.
:? Display a help menu for primary mode.
^D Exit from strdb.
:q Exit from strdb.
^K If logging is enable, dump current screen to log file
^L Refresh the screen.
:u Disable data structure stacking. By default data structure stacking is turned on.
When stacking is on, strdb pushes each structure it displays onto a stack so that
it can be reviewed later. See ˆP and other stack commands described below.
:s Re-enable data structure stacking. By default data structure stacking is turned on.
The :u command turns it off. When stacking is on, strdb pushes each structure
it displays onto a stack so that it can be reviewed later. See
ˆP and other stack
commands described below.
:l name o|c If the o option is specified, open a log file, name, and start logging. Alternatively if
the c option is specified, close a log file, name, and stop logging.
:S Enter STREAMS subsystem mode.
navigation key Display the field specified by navigation key in the currently displayed data struc-
ture. strdb provides different navigation keys for each STREAMS data struc-
ture. Each key indicates a particular field in the data structure to display. The
navigation keys for STREAMS data structures are described after the STREAMS
subsystem commands below.
? Display a help menu for the displayed data structure’s navigation keys.
^R Update the displayed data structure with new values from /dev/kmem on a run-
ning system.
^P Pop the displayed data structure off the data structure stack, and display the data
structure now at the top of the stack.
:m Mark the displayed data structure. Later the data structure stack can be popped
back to this structure using ˆU as described below.
^U Pop the data structure stack back to a structure marked with :m, and display this
structure.
HP-UX Release 11i: December 2000 − 1 − Section 1M−−819
___
___