onstat -g stq command: Print queue information

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

Figure 1: Syntax:

1  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 2: 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
Session id
cnt
Number of stream queue buffers
waiters
Number of threads waiting for the stream queue buffer