Oninit Logo
The Down System Specialists
+1-913-674-0360
+44-2081-337529
Partnerships Contact
Onstat -a -b/-B -C -c -d/-D -F -f -G -h -i -j -k/-K -L -l -m -o -P -p -R -r -s -t/-T -u -X -x -z

onstat -g sch VP Scheduler Statistics

The onstat -g sch commands displays statistics for each of the virtual processors (VPs) currently active in the system. The output is sorted by virtual processor number.

VP Scheduler Statistics:                                                       
 vp    pid       class       semops    busy waits  spins/wait                  
 1     25844     cpu         43        0           0                           
 2     25845     adm         0         0           0                           
 3     25846     web         1         0           0                           
 4     25847     lio         2         0           0                           
 5     25848     pio         2         0           0                           
 6     25849     aio         235       0           0                           
 7     25850     msc         10029     0           0                           
 8     25851     tli         2         0           0                           
 9     25852     tli         23        0           0                           
                                                                               
Thread Migration Statistics:                                                   
 vp  pid      class steal-at steal-sc idlvp-at idlvp-sc inl-polls Q-ln         
 1   25844    cpu   0        0        0        0        146330    0            
 2   25845    adm   0        0        0        0        0         0            
 3   25846    web   0        0        0        0        0         0            
 4   25847    lio   0        0        0        0        0         0            
 5   25848    pio   0        0        0        0        0         0            
 6   25849    aio   0        0        0        0        0         0           
 7   25850    msc   0        0        0        0        0         0           
 8   25851    tli   0        0        0        0        0         0           
 9   25852    tli   0        0        0        0        0         0           

Output Description

Heading Description Format
vp The virtual processor ID. Dec
pid The system process ID for the process running this virtual processor. Dec
class The class of virtual processor. Str
semops The number of times this virtual procesor went idle and performed a semaphore operation to wait for work. Dec
busy waits The number of times the virtual processor found no work to do and spun to avoid going to sleep on a semaphore. Dec
spins/wait The average number of spins that were performed for each busy wait. Dec

Notes

    The number of spins performed during a busy wait is platform dependent.

    Busy waits allow a virtual processor to avoid a context switch while waiting for additional work to show up in the ready queues.

    Spins/wait is calculated as (spins * 10,000) / busy waits.

    Busy waits only occur when the configuration parameter MULTIPROCESSOR is set to a value other than 0.

To discuss how Oninit ® can assist please call on +1-913-674-0360 or alternatively just send an email specifying your requirements.