STREAMS/UX for the HP 9000 Reference Manual

149
Debugging STREAMS/UX Modules and Drivers
STREAMS/UX Debugging Tool
q_hiwat = 0x200
q_lowat = 0x100
q_bandp = 0x0
q_nband = 0
q_pad1[0] = 00
q_pad1[1] = 00
The user notes that q_count, the number of bytes of data on the queue, is
512. This is the amount of data the test program was able to read. The user
realizes that the test program could only read 512 bytes, because that is all
that was in the queue. The user continues examining the stream in order to
find out what happened to the other 512 bytes of data. The user enters the o
navigation key to see the other queue, the stream head write queue.
o
struct queue 0x515574 S:2
q_qinfo = 0x29550c q_pad1[2] = 00
q_first = 0x0 q_other = 0x515500
q_last = 0x0
q_next = 0x4bc974
q_link = 0x0
q_ptr = 0x530600
q_count = 0
q_flag = 0x102a
QNOENB
QWANTR
QUSE
QSYNCH
q_minpsz = 0
q_maxpsz = -1
q_hiwat = 0x2800
q_lowat = 0x400
q_bandp = 0x0
q_nband = 0
q_pad1[0] = 00
q_pad1[1] = 00
The user sees that there is no data in this queue. The user enters the n key to
see the next queue, lo's write queue.
n
struct queue 0x4bc974 S:3
q_qinfo = 0x2951cc q_pad1[2] = 00
q_first = 0x537800 q_other = 0x4bc900
q_last = 0x50d100
q_next = 0x0
q_link = 0x0
q_ptr = 0x2b1fa8
q_count = 512
q_flag = 0x1124