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
] [-f
flag] [-F
flag] [-s
syncq] -
Filter and display the specified
queue_t
data structure. With no options, various properties of thequeue_t
are shown. If the-v
option is present, the queue flags are decoded in greater detail. If the-f
,-F
, or-m
options 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-f
option indicates that the specified flag (one of the Q flag names from<sys/stream.h>
) must be present in the queue flags. The-F
option indicates that the specified flag must be absent from the queue flags. The-m
option indicates that the module name associated with the queue must match the specified modname. The-s
option indicates that thesyncq_t
associated with the queue must match the specifiedsyncq_t
address. -
address
::q2syncq
-
Given the address of a
queue_t
, print the address of the correspondingsyncq_t
data 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_t
structure 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
] [-f
flag] [-F
flag] [-t
type] [-T
type] -
Filter and display the specified
syncq_t
data structure. With no options, various properties of thesyncq_t
are shown. If the-v
option is present, the syncq flags are decoded in greater detail. If the-f
,-F
,-t
, or-T
options 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-f
option indicates that the specified flag (one of theSQ_
flag names from<sys/strsubr.h>
) must be present in the syncq flags. The-F
option indicates that the specified flag must be absent from the syncq flags. The-t
option indicates that the specified type (one of theSQ_CI
orSQ_CO
type names from<sys/strsubr.h>
) must be present in the syncq type bits. The-T
option 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_t
data structure.