onstat -g wai command: Print wait queue
thread list
Use the onstat -g wai command to display
a list of the threads in the system that are currently in the wait
queue and not currently executing. The output is sorted by thread
ID.
Example output
Output description
tid (decimal)
Thread ID
tcb (hex)
In-memory address of the thread control block
rstcb (hex)
In-memory address of the RSAM thread control block