Linux, dstat

I get the following from dstat

----total-cpu-usage---- -net/total- sda-
usr sys idl wai hiq siq| recv  send|util

 33  22  24   0   0  21| 462M  478M|   0

Open in new window


Since the utilization is 76, and the user and sys equal 66, that seems to be a disparity

Can I assume that

100 - idle = user + sys + siq

Open in new window


Or is that not correct ?
Los Angeles1Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Kerem ERSOYConnect With a Mentor PresidentCommented:
Hi,

Basically usr+sys+idle+wait should add up to 100 but in your system you have high siq values and they are into the equation as well..

Cheers,
K.
0
 
legolasthehansyCommented:
Hi,

To make sure, here are some tools which measures CPU utilization (as this concerns CPU usage)
The sar command
use "sar -u 3 10" (10 entries are displayed every 3 seconds)
Check the %iowait and %idle values

Run the top command
ps -eo pcpu,pid,user,args | sort -r -k1 | less

You can get a top down view of the process with the highest CPU munchers.
0
All Courses

From novice to tech pro — start learning today.