Solved

Linux, dstat

Posted on 2012-03-23
2
280 Views
Last Modified: 2012-03-25
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
Comment
Question by:Los Angeles1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Expert Comment

by:legolasthehansy
ID: 37758548
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
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 500 total points
ID: 37761849
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question