Displays administrative information about STREAMS activity.
The strinfo command displays information for debugging purposes about STREAMS, drivers and modules, or stream heads and the STREAMS run queue.
Item | Description |
---|---|
-m | Displays information on drivers and modules present in STREAMS. |
-q | Displays informations on active stream heads, and on the run queue which holds the STREAMS module and driver service procedures. |
strinfo -m
This produces a listing similar to the following:Device: 'sad', dcookie 0xf, flags:0x4, str 0x19a69e8
Device: 'slog', dcookie 0x10, flags:0x4, str 0x19a6c18
Device: 'rs', dcookie 0x11, flags:0x2, str 0x19bcb00
Module: 'bufcall', flags:0x1, str 0x19a5c00
Module: 'ldterm', flags:0x0, str 0x19cc858
In this example dcookie indicates
the major number, flags indicates the flags configuration,
and str is the STREAMS table address.strinfo -q
This produces a listing similar to the following:Active Stream Heads
sth sth_dev sth_rq sth_wq sth_flag rq->q_first
05a7ee00 00110001 05ad7000 05ad7074 00000818 00000000
STREAMS Service Queue
Queue 0x5ad7000 Flags 0x10
Item | Description |
---|---|
/usr/sbin/strinfo | Contains the strinfo command. |