|
|
NAME
streams - Display information about streams.
SYNOPSIS
streams
stream address
stream_find address
DESCRIPTION
The streams macro takes no arguments. It displays
information for all streams on the system and is
useful for obtaining arguments for many other macros.
The stream macro takes one argument, the address of a stream (obtained by running the streams macro) and displays information about only that stream. The stream_find macro takes the address of a queue as an argument and finds the stream associated with it.
The streams structure is defined in /usr/include/sys/stream.h
Typical output looks like this:
S> streams stream D1547A00 iocwwait 0000 rerr 00000000 werr 00000000 pushcnt 00000001 flag 00000000: sigflg 00000000: evflag 00000000: pollevents 0000: sd_vnode D1548604: dev 38/88: sd_sidp 00000000: sd_pgidp 00000000: sd_eventlist 00000000: queues D1547700, D154774C Downstream from queue D154774C: queue bsrv idname ptr count cpu plumbing:sched:flag D154774C 00000000 strwhead D1547A00 00 UBND PROCSON USE D1548E4C D154774C timod D01D81D0 00 UBND PROCSON WANTR USE D153F64C D1548E4C tcp D1548780 00 UBND PROCSON WANTR USE Upstream from queue D153F600: queue bsrv idname ptr count cpu plumbing:sched:flag D153F600 00000000 tcp D1548780 00 UBND PROCSON WANTR READR USE D1548E00 D153F600 timod D01D81D0 4110 UBND PROCSON WANTW FULL READR USE msgb type rf size psize next D1702C80 01 PROTO C5 00000008 00000008 D1A2D7C0 D1CFE580 00 DATA 01 00000640 00000005 00000000 D1A2D7C0 01 PROTO C5 00000008 00000008 D1A2D780 D1CE0B00 00 DATA 01 00000640 00000005 00000000 ... D15CE880 01 PROTO C5 00000008 00000008 00000000 D15CFF80 00 DATA 01 00000640 00000009 00000000 D1547700 D1548E00 strrhead D1547A00 14284 UBND PROCSON WANTW READR USE msgb type rf size psize next D15C6D00 01 PROTO C5 00000008 00000008 D1665780 D1561E80 00 DATA 01 00000640 00000004 00000000 ...