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)
^T Transpose the top two data structure stack entries. Unlike ˆP, this command
allows the data structure on the top of the stack to be saved for later viewing.
:b addr [ len ]Displaylen bytes of binary data at address addr. The default for len is 256.
:x name addr
Display structure name located at address addr.
:x ? Display the structure names accepted by :x.
The following commands are available in STREAMS subsystem mode.
? Display a help menu for STREAMS subsystem mode.
h Display a help menu for STREAMS subsystem mode.
q Exit from STREAMS subsystem mode to primary mode.
v Print the version of STREAMS data structures displayed.
sd| m If the d option is specified, list the STREAMS drivers included in the kernel
S800 or dfile file. Alternatively if the m option is specified, list the included
modules.
la name List all open streams for device name. The name is one of those shown by the
s
command.
lm name minor List all modules pushed on the stream for device name and minor minor.
ll name minor List all drivers linked under the multiplexor name with minor minor.
lp name minor List all drivers persistently linked under the multiplexor name with minor minor.
qc name file Write the q_count values for the driver name into file, file.
qh name minor Display the streams head read queue for the STREAMS driver name and minor
minor. This command returns the user to primary mode.
strdb provides different navigation keys for each STREAMS data structure it displays. Each key indi-
cates a particular data structure field to display. The navigation keys for each STREAMS data structure
are described in the following paragraphs.
The navigation keys for the STREAMS queue structure are:
i Displays the q_init structure pointed to by the q_qinfo field.
m Displays the msgb structure pointed to by the q_first field.
z Displays the msgb structure pointed to by the q_last field.
n Displays the queue structure pointed to by the q_next field.
l Displays the queue structure pointed to by the q_link field.
b Displays the qband structure pointed to by the q_bandp field.
o Displays the queue structure pointed to by the q_other field.
The navigation keys for the STREAMS qinit structure are:
i Displays the module_info structure pointed to by the qi_minfo field.
s Displays the module_stat field pointed to by the qi_mstat field.
The navigation keys for the STREAMS msgb structure are:
n Displays the msgb structure pointed to by the b_next field.
p Displays the msgb structure pointed to by the b_prev field.
m Displays the data pointed to by the b_rptr field.
c Displays the msgb structure pointed to by the b_cont field.
d Displays the datab structure pointed to by the b_datap field.
The navigation keys for the STREAMS datab structure are:
d Displays the a__datab structure pointed to by the db_f field.
Section 1M−−820 − 2 − HP-UX Release 11i: December 2000
___
___