Sorry for the bump
I still can't find an answer for this , how to get the CPU Load.
and it can't be that hard - becuase you can see it in the menu as "CPU Usage Monitor", so the number and calculation is there.
so it must be a way to reach and get it , no?
I understadn correctly this command
Code: Select all
top -n 1 | grep "%Cpu"
%Cpu(s): 6.8 us, 6.8 sy, 0.0 ni, 86.5 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
it mean that currently I'm using 6.8+6.8 = 13.4 "cpu" , and idle is 100-13.4=86.6 which is like 86.5 id
but when I look on the graphic monitor - the number is not 13 but run between 3-8 (I have run this command maybe 20 times to be check the resault )
can it be ?