[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

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 ?
0
Los Angeles1
Asked:
Los Angeles1
1 Solution
 
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
 
Kerem ERSOYPresidentCommented:
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

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now