Link to home
Start Free TrialLog in
Avatar of Los Angeles1
Los Angeles1

asked on

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 ?
Avatar of legolasthehansy
legolasthehansy

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.
ASKER CERTIFIED SOLUTION
Avatar of Kerem ERSOY
Kerem ERSOY

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial