onstat -g stq command: Print queue information

Use the onstat -g stq command to display information about the queue.

Read syntax diagramSkip visual syntax diagram

>>-onstat-- -g--stq--session-----------------------------------><

To view queue information for a particular session specify the session option. Omit the session option to view queue information for all sessions.

Example output

Figure 1. onstat -g stq command output
Stream Queue: (session 25 cnt 4)  0:db12400  1:db18400  2:dcf0400  3:dcf6400
 Full Queue:  (cnt 2  waiters 0)  0:0  1:db12400
 Empty Queue: (cnt 0  waiters 0)

Output description

Session id
Number of stream queue buffers
Number of threads waiting for the stream queue buffer

Copyright© 2018 HCL Technologies Limited