so your statement " The below is occupying 99% of CPU yet overall we have
84.5% idle CPU." is accurate.
This line: " %Cpu(s): 12.5 us, 2.8 sy, 0.0 ni, 84.5 id, 0.0 wa, 0.0
hi, 0.1 si, 0.0 st" is an aggregate function.
HTH
D
On Tue, Jan 18, 2022 at 9:46 PM Goti <aryan.goti@xxxxxxxxx> wrote:
Hi Douglas,
Yes it does show.
top - 01:45:04 up 14:38, 1 user, load average: 2.83, 2.93, 3.14
Tasks: 504 total, 3 running, 501 sleeping, 0 stopped, 0 zombie
%Cpu0 : 17.7 us, 17.4 sy, 0.0 ni, 64.9 id, 0.0 wa, 0.0 hi, 0.0 si,
0.0 st
%Cpu1 : 45.0 us, 13.9 sy, 0.0 ni, 41.1 id, 0.0 wa, 0.0 hi, 0.0 si,
0.0 st
%Cpu2 : 65.3 us, 11.0 sy, 0.0 ni, 23.7 id, 0.0 wa, 0.0 hi, 0.0 si,
0.0 st
%Cpu3 : 20.8 us, 12.9 sy, 0.0 ni, 66.3 id, 0.0 wa, 0.0 hi, 0.0 si,
0.0 st
%Cpu4 : 15.0 us, 20.7 sy, 0.0 ni, 64.3 id, 0.0 wa, 0.0 hi, 0.0 si,
0.0 st
%Cpu5 : 69.9 us, 16.7 sy, 0.0 ni, 13.4 id, 0.0 wa, 0.0 hi, 0.0 si,
0.0 st
%Cpu6 : 20.5 us, 10.7 sy, 0.0 ni, 68.8 id, 0.0 wa, 0.0 hi, 0.0 si,
0.0 st
%Cpu7 : 13.0 us, 16.3 sy, 0.0 ni, 70.8 id, 0.0 wa, 0.0 hi, 0.0 si,
0.0 st
KiB Mem : 65791984 total, 1877504 free, 59237028 used, 4677452 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 5889832 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
112998 oracle 20 0 52.6g 235544 26672 R 98.7 0.4 68:57.98
oracle_112998_c
38775 oracle 20 0 52.4g 59412 33968 R 98.0 0.1 44:07.96
ora_j000_cdp028
Thanks,
Goti
On Wed, Jan 19, 2022 at 10:09 AM Douglas Dunyan <dmdunyan@xxxxxxxxx>
wrote:
Hmmm....when running top, and you press the "1" key on your keyboard,
does it show cpu0 --> cpu7 ?
Just a guess....I can't imagine a system with a 52 Gb sga being only 1
vCPU...
D
On Tue, Jan 18, 2022 at 8:56 PM Goti <aryan.goti@xxxxxxxxx> wrote:
Hi All,
Can someone explain the meaning of IRIX mode for top command in Linux?
For databases running on VM's, when running top, should we turn off the
IRIX mode to get the exact CPU utilization? The below is occupying 99% of
CPU yet overall we have 84.5% idle CPU.
top - 00:52:37 up 13:46, 1 user, load average: 2.00, 2.30, 2.43
Tasks: 507 total, 4 running, 503 sleeping, 0 stopped, 0 zombie
%Cpu(s): 12.5 us, 2.8 sy, 0.0 ni, 84.5 id, 0.0 wa, 0.0 hi, 0.1 si,
0.0 st
KiB Mem : 65791984 total, 1684392 free, 59226316 used, 4881276
buff/cache
KiB Swap: 0 total, 0 free, 0 used. 5909356 avail
Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
112998 oracle 20 0 52.6g 235508 26536 R 99.7 0.4 17:59.26
oracle_112998_c <<<< 99% CPU , however total seems to be less.
3704 root 20 0 554212 24212 10176 S 1.7 0.0 17:49.27
BESClient
4229 oracle 20 0 1384960 42856 22832 S 0.7 0.1 4:03.95
oraagent.bin
Thanks,
Goti