"top" and node summary cpu % util does not agree

Moonrocks

Member
Apr 14, 2023
31
3
13
Hello,

I noticed that the CPU usage on the "Summary" page of the node (not VM) does not agree with the %Cpu(s) from "top" there is about a 20% difference.

Top Results:

Code:
top - 14:51:13 up 4 days, 13:28,  2 users,  load average: 127.73, 129.37, 125.3
Tasks: 4200 total,  60 running, 4140 sleeping,   0 stopped,   0 zombie
%Cpu(s): 52.8 us, 15.4 sy,  0.0 ni, 29.0 id,  1.3 wa,  0.0 hi,  1.5 si,  0.0 st
MiB Mem : 2063612.+total, 776593.4 free, 1253683.+used,  33335.7 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used. 801214.3 avail Mem

Proxmox UI:

Code:
 72.76% of 96 CPU(s)


I monitored top for about 10 minutes and the %Cpu never exceeds 57% while at the same time the Proxmox UI reports approx +15-20% at any given time.

Which one should I be trusting?

TIA :)
 
This looks similar to me. What did you calculate to come up with 57%?
Try pressing t when top is open to see a more comparable output. Also note that there's a so called IRIX mode.
 
Last edited: