STREAMS/UX for the HP 9000 Reference Manual
125
Debugging STREAMS/UX Modules and Drivers
STREAMS/UX Debugging Tool
q - quit the STREAMS subsystem commands
qc 'driver' 'file' - print 'driver' read / write side qcount to
'file'
qh 'name' 'minor' - display STREAM head queue structure
for device 'name' and minor number 'minor'
s [m | d] - Option d lists all the STREAMS drivers
configured in the system. Option m lists
all the modules configured in the system
v - print version of STREAMS structures
displayed
The ?, h, q, v, s, la, lm, ll, lp, qc, and qh commands are available in
subsystem mode. To execute these commands, enter the command at the ":"
prompt. The commands help you find the stream that you want to examine.
The commands are described below.
? and h Commands
Enter the ? or h command to see the help menu for STREAMS/UX
subsystem mode. strdb prints the text shown below.
?
STREAMS subsystem help commands
? - show this help menu
h - show this help menu
la 'name' - list all active STREAMS on device 'name'
ll 'name' 'minor'- list all drivers linked under the STREAMS
driver 'name' and minor number 'minor'
lm 'name' 'minor' - list all modules pushed on STREAMS device
'name'
and whose minor number is 'minor'
lp 'name' 'minor'- list all drivers persistently linked under
the STREAMS device 'name' and minor number
'minor'
q - quit the STREAMS subsystem commands
qc 'driver' 'file'- print 'driver' read / write side qcount to
file
qh 'name' 'minor'- display STREAM head queue structure for
device 'name' and minor number 'minor'
s [m | d] - Option d lists all the STREAMS drivers
configured in the system. Option m lists
all the modules configured in the system
v - print version of STREAMS structures
displayed