STREAMS Dcmds
-
address
::mblk2dblk -
Given the address of an
mblk_t, print the address of the correspondingdblk_t. -
[address]
::mblk_verify -
Verify the integrity of one or more message blocks. If an explicit message block address is specified, the integrity of this message block is checked. If no address is specified, the integrity of all active message blocks are checked. This dcmd produces output for any invalid message block state that is detected.
-
address
::queue[-v] [-fflag] [-Fflag] [-ssyncq] -
Filter and display the specified
queue_tdata structure. With no options, various properties of thequeue_tare shown. If the-voption is present, the queue flags are decoded in greater detail. If the-f,-F, or-moptions are present, the queue is displayed only if it matches the criteria defined by the arguments to these options; in this way, the dcmd can be used as a filter for input from a pipeline. The-foption indicates that the specified flag (one of the Q flag names from<sys/stream.h>) must be present in the queue flags. The-Foption indicates that the specified flag must be absent from the queue flags. The-moption indicates that the module name associated with the queue must match the specified modname. The-soption indicates that thesyncq_tassociated with the queue must match the specifiedsyncq_taddress. -
address
::q2syncq -
Given the address of a
queue_t, print the address of the correspondingsyncq_tdata structure. -
address
::q2otherq -
Given the address of a
queue_t, print the address of the peer read or write queue structure. -
address
::q2rdq -
Given the address of a
queue_t, print the address of the corresponding read queue. -
address
::q2wrq -
Given the address of a
queue_t, print the address of the corresponding write queue. -
[ address ]
::stream -
Display a visual picture of a kernel STREAM data structure, given the address of the
stdata_tstructure representing the STREAM head. The read and write queue pointers, byte count, and flags for each module are shown, and in some cases additional information for the specific queue is shown in the margin. -
address
::syncq[-v] [-fflag] [-Fflag] [-ttype] [-Ttype] -
Filter and display the specified
syncq_tdata structure. With no options, various properties of thesyncq_tare shown. If the-voption is present, the syncq flags are decoded in greater detail. If the-f,-F,-t, or-Toptions are present, the syncq is displayed only if it matches the criteria defined by the arguments to these options; in this way, the dcmd can be used as a filter for input from a pipeline. The-foption indicates that the specified flag (one of theSQ_flag names from<sys/strsubr.h>) must be present in the syncq flags. The-Foption indicates that the specified flag must be absent from the syncq flags. The-toption indicates that the specified type (one of theSQ_CIorSQ_COtype names from<sys/strsubr.h>) must be present in the syncq type bits. The-Toption indicates that the specified type must be absent from the syncq type bits. -
address
::syncq2q -
Given the address of a
syncq_t, print the address of the correspondingqueue_tdata structure.