DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

queues - Display the system queues structure

SYNOPSIS

queues

DESCRIPTION

The queues macro takes no arguments. It displays all the active queue structures on the system.

The queues macro checks the value of the variable _msgflag. If this variable is non-zero, the individual message block information will not be printed. Enter "set _msgflag 1" prior to running the queues macros to print only the summaries. The "count" field contains the total byte count of all message blocks in the queue.

Warning: The output of the queues macro can be thousands of lines. Use the "more" command, or capture the output to a file.

The queue structure is defined in /usr/include/sys/stream.h

Typical output looks like this:


  S> queues
  queue    bsrv     idname   ptr   count cpu plumbing:sched:flag
  D1305300 D1306E00 ttcompat D1306D00 00 UBND PROCSON WANTR READR USE
  D130534C D12A254C ttcompat D1306D00 00 UBND PROCSON WANTR USE
  D1306E00 D124FB00 ldterm   D1305D00 00 UBND PROCSON WANTR READR USE
  D1306E4C D12A254C ldterm   D1305D00 00 UBND PROCSON WANTR USE
  D1305F00 D124FB00 ptem     D02FD818 00 UBND PROCSON WANTR READR USE
  D1305F4C D12A254C ptem     D02FD818 00 UBND PROCSON WANTR USE
  D124FB00 00000000 pts      D02AD37C 00 UBND PROCSON WANTR READR USE
  D124FB4C D12A254C pts      D02AD37C 00 UBND PROCSON WANTR USE
  D12A2500 D1306E00 strrhead D12CC280 00 UBND PROCSON WANTR READR USE
  D12A254C 00000000 strwhead D12CC280 00 UBND PROCSON USE
  D1305400 00000000 ptm      D02AD37C 00 UBND PROCSON WANTR READR USE
  D130544C D130664C ptm      D02AD37C 00 UBND PROCSON WANTR USE
  D1306600 D1305400 strrhead D12A7400 91 UBND PROCSON WANTR READR USE
      msgb     type       rf size    psize    next
      D12CDF80 00 DATA    01 00000001 00000001 D12ACC80

      D12ACC80 00 DATA    01 00000001 00000001 D12BDF80

      D12CDF80 00 DATA    00 00000001 00000000 D12A9800

      D12A9800 85 READ    00 00000004 00000004 D12F0580

      D12F0A00 00 DATA    00 00000001 00000000 D12AD680

      D12AD680 00 DATA    00 00000001 00000000 D12F0A80

      D12F0A80 00 DATA    01 00000001 00000001 D12C1280

      D12C1280 00 DATA    00 00000001 00000000 D12F0A80
  .... several DATA lines deleted.
  D12A7E00 00000000 tco      D10CA400 00 0000 PROCSON WANTR READR USE
  D12A7E4C D12AAF4C tco      D10CA400 00 0000 PROCSON WANTR USE
  D12C5C00 D12AC900 strrhead D12C0A00 00 UBND PROCSON WANTR READR USE
  D12C5C4C 00000000 strwhead D12C0A00 00 UBND PROCSON USE
  D12AC200 D12C5F00 sockmod  D02CB004 00 UBND PROCSON WANTR READR USE
  D12AC24C D12A764C sockmod  D02CB004 00 UBND PROCSON WANTR USE
  D12C5F00 D12AEC00 strm     00000000 00 UBND PROCSON WANTR READR USE
  D12C5F4C D12AC24C strm     00000000 00 0000 PROCSON WANTR USE
  D12AEC00 00000000 tco      D12DEA00 00 0000 PROCSON WANTR READR USE
  D12AEC4C D12C5F4C tco      D12DEA00 00 0000 PROCSON WANTR USE
  D12A7600 D12AC200 strrhead D12B0380 00 UBND PROCSON READR USE
  D12A764C 00000000 strwhead D12B0380 00 UBND PROCSON USE
  ...... hundreds more lines deleted.

DEFINED IN

stream.k

SEE ALSO

streams, streams_muxs

APPENDIX A: Alphabetic Index of Macros