STREAMS/UX for the HP 9000 Reference Manual
127
Debugging STREAMS/UX Modules and Drivers
STREAMS/UX Debugging Tool
loop MAJOR = 114
sp MAJOR = 115
test_wel MAJOR = 130
la Command
Enter the la command to see a list of opened streams for a driver. Also, enter
the name of the driver. This name can be obtained from s command output.
An example is shown below.
la tivc
tivc MAJOR = 79
ACTIVE Minor 0x00002f Stream head RQ = 0x676a00
ACTIVE Minor 0x00000f Stream head RQ = 0x663300
ACTIVE Minor 0x00000e Stream head RQ = 0x6a5900
ACTIVE Minor 0x00002e Stream head RQ = 0x71f800
ACTIVE Minor 0x00004e Stream head RQ = 0x6ccf00
ACTIVE Minor 0x00000d Stream head RQ = 0x67b300
ACTIVE Minor 0x00004d Stream head RQ = 0x73c700
ACTIVE Minor 0x00002d Stream head RQ = 0x728800
ACTIVE Minor 0x00004c Stream head RQ = 0x74f600
ACTIVE Minor 0x00000c Stream head RQ = 0x68d100
ACTIVE Minor 0x00002b Stream head RQ = 0x730a00
lm Command
Enter the lm command to see a list of the modules pushed onto a driver. You
must specify the driver name and the minor number. The minor number can
be obtained from the la command output. An example is shown below.
lm tivc 47
STREAM Head
timod
Driver tivc
ll Command
Enter the ll command to see a list of drivers linked under a multiplexor. You
must enter the multiplexor name and the minor number. The multiplexor
name can be obtained from the s output. The minor number is from the la
output. An example is shown below.
ll tmx 0
lo MAJOR = 75 minor = 2
lo MAJOR = 75 minor = 1
lo MAJOR = 75 minor = 0