onstat -g sch command: Print VP information
Use the onstat -g sch command to display information about thread migration and the number of semaphore operations, spins, and busy waits for each virtual processor.
Example Output
Figure 1. onstat -g sch command output
VP Scheduler Statistics:
vp pid class semops busy waits spins/wait
1 3284 cpu 23997 0 0
2 1340 adm 0 0 0
3 4624 lio 2 0 0
4 3320 pio 2 0 0
5 6076 aio 7710 0 0
6 4580 msc 46 0 0
7 3428 soc 7 0 0
8 2308 soc 1 0 0
Thread Migration Statistics:
vp pid class steal-at steal-sc idlvp-at idlvp-sc inl-polls Q-ln
1 3284 cpu 0 0 0 0 0 0
2 1340 adm 0 0 0 0 0 0
3 4624 lio 0 0 0 0 0 0
4 3320 pio 0 0 0 0 0 0
5 6076 aio 0 0 0 0 0 0
6 4580 msc 0 0 0 0 0 0
7 3428 soc 0 0 0 0 0 0
8 2308 soc 0 0 0 0 0 0