The onstat -g glo command provides information on the status of the virtual processors in the system.
MT global info:
sessions threads vps lngspins
32 250 33 113648
sched calls thread switches yield 0 yield n yield forever
total: 80447124 2055860175 2478959126 434990834 731372257
per sec: 4177 4044 171 178 1621
Virtual processor summary:
class vps usercpu syscpu total
cpu 6 805184.57 39823.03 845007.60
aio 16 201.74 290.89 492.63
lio 1 3.18 9.19 12.37
pio 1 2.93 8.37 11.30
adm 1 206.62 53.20 259.82
soc 1 393.55 858.41 1251.96
msc 1 0.29 0.33 0.62
fifo 1 3.06 8.36 11.42
regexp 3 21.94 23.94 45.88
ETX 2 14.46 15.76 30.22
total 33 806032.34 41091.48 847123.82
Individual virtual processors:
vp pid class usercpu syscpu total Thread Eff
1 1553 cpu 75563.65 7075.69 82639.34 537872.98 15%
2 1554 adm 206.62 53.20 259.82 0.00 0%
3 1555 lio 3.18 9.19 12.37 12.37 100%
4 1556 pio 2.93 8.37 11.30 11.30 100%
5 1557 aio 131.05 150.91 281.96 31366.27 0%
6 1558 msc 0.29 0.33 0.62 0.62 100%
7 1559 fifo 3.06 8.36 11.42 11.42 100%
8 1560 cpu 277260.40 10227.55 287487.95 721911.53 39%
9 1561 cpu 150374.96 7107.81 157482.77 539274.35 29%
10 1562 cpu 109481.14 5412.33 114893.47 446412.82 25%
11 1563 cpu 96192.64 4969.38 101162.02 398515.17 25%
12 1564 cpu 96311.78 5030.27 101342.05 381459.40 26%
13 1565 regexp 7.37 8.14 15.51 15.51 100%
14 1566 regexp 7.34 7.86 15.20 0.00 0%
15 1567 regexp 7.23 7.94 15.17 0.00 0%
16 1568 ETX 7.25 7.89 15.14 0.00 0%
17 1569 ETX 7.21 7.87 15.08 0.00 0%
18 1570 aio 11.80 20.35 32.15 28392.68 0%
19 1571 aio 7.14 11.94 19.08 21794.76 0%
20 1572 aio 5.51 10.30 15.81 18674.64 0%
21 1573 aio 5.17 9.20 14.37 16058.98 0%
22 1574 aio 5.23 8.74 13.97 14587.17 0%
23 1575 aio 3.78 8.74 12.52 13444.06 0%
24 1576 aio 4.16 8.20 12.36 12879.65 0%
25 1577 aio 3.55 8.09 11.64 12401.00 0%
26 1578 aio 3.52 7.95 11.47 11922.06 0%
27 1579 aio 3.38 7.70 11.08 11486.18 0%
28 1580 aio 3.42 7.96 11.38 10871.17 0%
32 1581 aio 3.54 7.66 11.20 10413.82 0%
29 1582 aio 3.41 7.72 11.13 11217.40 0%
30 1583 aio 3.43 7.75 11.18 10143.16 0%
31 1584 aio 3.65 7.68 11.33 10038.97 0%
33 1585 soc 393.55 858.41 1251.96 NA NA
tot 806032.34 41091.48 847123.82
| Heading | Description | Format | See Also |
|---|---|---|---|
| sessions | The total number of active sessions. | Dec | onstat -g ses |
| threads | The total number of active threads. | Dec | onstat -g ath |
| vps | The total number of active virtual processors. | Dec | onstat -g sch |
| lngspins | The number of times a thread had to spin more than 10,000 times to acquire a latch on a resource. | Dec | onstat -g spi |
| Heading | Description | Format |
|---|---|---|
| sched calls | The total/per second calls made by the VPs | Dec |
| thread switches | The total/per second number of thread switches performed | Dec |
| yield 0 | The total/per second number of yield 0 calls peformed | Dec |
| yield n | The total/per second number of yield n calls peformed | Dec |
| yield forever | The total/per second number of yield forever calls peformed | Dec |
| Heading | Description | Format |
|---|---|---|
| class | The type of virtual processor | Str |
| vps | The number of instances of this class of vp. | Dec |
| usercpu | The total user time this class of vp has spent running on the cpu in seconds. | Flt |
| syscpu | The total system time this class of vp has spent running on the cpu in seconds. | Flt |
| total | The total number of virtual processors, user time and system time. | Flt |
| Heading | Description | Format |
|---|---|---|
| vp | The virtual processor number sequentially assigned. | Dec |
| pid | The process ID of the oninit process for this virtual processor, | Dec |
| class | The class of virtual processor. | Str |
| usercpu | The total user time this vp has spent running on the cpu in seconds. | Flt |
| syscpu | The total system time this vp has spent running on the cpu in seconds. | Flt |
| total | The total number of virtual processors, user time and system time. | Flt |
| Thread | The total time the threads ran on the virtual processor. | Flt |
| Eff | Efficiency. The ratio of the total CPU time to the total time the threads ran on the virtual processor. | Flt |
To discuss how Oninit ® can assist please call on +1-913-674-0360 or alternatively just send an email specifying your requirements.