DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

queuerun - Disply streams and queue information for queues waiting to be run

SYNOPSIS

queuerun
any_queuerun
queuerun_aux address %lt address of a queue structure %gt

DESCRIPTION

The macros queuerun and any_queuerun check to see if there are streams queues waiting to be run, and prints the information about the runnable queues if so.

queuerun checks the queue of cpu bound streams, any_queuerun checks this list of streams which may be run on any cpu.

queuerun_aux is primarily a subroutine used by queuerun and any_queuerun. However, it provides an easy way to map a queue back to the stream it belongs to.

First run "set _msgflags 1" in order to print only the summary information.

Typical output looks like this:


S> queuerun
D14DEC00
stream D14DEF80  iocwwait 0000  rerr 00000000   werr 00000000  pushcnt 00000000
flag   00000040: STPLEX     sigflg 00000000: 
evflag 00000000:     pollevents 0000: 
sd_vnode     D14B1304:
dev             30/00:
sd_sidp      00000000:
sd_pgidp     00000000:
sd_eventlist 00000000:

stream_lckp D14B0500
queues D14B1200, D14B124C
Downstream from queue D14B124C:
queue    bsrv     idname   ptr   count cpu plumbing:sched:flag
D14B124C D14DEC4C strc     D14DEF80 00 0000 PROCSON WANTR USE 
D14DEB4C D14B124C strm     00000000 00 UBND PROCSON WANTR USE 
D14DED4C D14DEB4C strm     00000000 00 0000 PROCSON WANTR USE 
D14DEE4C D14DED4C kd       D015281C 00 0000 PROCSON WANTR USE 
Upstream from queue D14DEE00:
queue    bsrv     idname   ptr   count cpu plumbing:sched:flag
D14DEE00 00000000 kd       D015281C 00 0000 PROCSON WANTR READR USE 
D14DED00 00000000 strm     00000000 00 UBND PROCSON WANTR READR USE 
D14DEB00 D14DED00 strm     00000000 00 0000 PROCSON WANTR READR USE 
D14B1200 D14DEB00 strc     D14DEF80 00 0000 PROCSON WANTR READR USE 
D14DEC00 D14DEB00 cmux     D139BE30 22 0000 PROCSON ENABLED MUXLOW WANTR READR USE 

This macro does not work in 1.3

DEFINED IN

stream.k

SEE ALSO

queues

APPENDIX A: Alphabetic Index of Macros