Monitor virtual processors with the onstat-g rea command
Use the onstat-g rea command to monitor the number of threads in the ready queue.
onstat-g rea displays this information:
- The status field in the output shows the value ready when the thread is in the ready queue.
- The vp-class output field shows the virtual processor class on which the thread executes.
If the number of threads in the ready queue is growing for a class of virtual processors (for example, the CPU class), you might have to add more of those virtual processors to your configuration.
Figure 1. onstat-g
rea output
Ready threads:
tid tcb rstcb prty status vp-class name
6 536a38 406464 4 ready 3cpu main_loop()
28 60cfe8 40a124 4 ready 1cpu onmode_mon
33 672a20 409dc4 2 ready 3cpu sqlexec