LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-02-2011, 01:26 PM   #1
instrumentpilot
Member
 
Registered: May 2006
Posts: 34

Rep: Reputation: 2
Performance Q - CPU and iowait


Hello all, I'm trying to figure out a fast way to find the process that is waiting on IO. I trimmed the output, but all other CPU's were %iowait = 0.00.

Code:
sar -P ALL 1 1000

11:13:15 AM       CPU     %user     %nice   %system   %iowait    %steal     %idle
11:13:16 AM       all      6.24      0.00      0.25      6.24      0.00     87.27
11:13:16 AM        11      0.00      0.00      0.99     99.01      0.00      0.00
11:13:16 AM        12    100.00      0.00      0.00      0.00      0.00      0.00
What I'm looking for a fast way to look for the PID that is using the processor that has %iowait = 99.01.

Thanks for any advice and input,
Michael Cunningham

Last edited by instrumentpilot; 11-02-2011 at 01:28 PM. Reason: Formatting
 
Old 11-02-2011, 03:06 PM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,061

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
iotop does something related to what you want; you can see which process is doing how much io, and that helps if a process is doing a lot of actual io, but does not help that much if the problem that the process is using an io device which has stalled.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual core cpu, 2 scp processes, 100% iowait. john.daker Linux - Newbie 4 06-22-2009 08:16 AM
High Load, Low CPU/RAM/iowait ? newlinuxnewbie Linux - Server 1 09-22-2006 09:24 AM
High loadavg, low CPU & iowait reichhartkg Linux - General 1 07-28-2006 03:44 PM
CPU performance mifan Linux - Software 7 08-15-2005 06:10 PM
disk/cpu performance Henry_1 Linux - Laptop and Netbook 3 11-20-2003 03:26 PM


All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration