LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-17-2013, 11:21 PM   #1
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 117

Rep: Reputation: 15
Redhat Disk IO question


Hello guyz,
Quick question, what command can you use to check which process i is causing high disk I/O reads and writes on Redhat?

I know of htop and iotop but can I use iostat or sar to check each individual process and its disk IO?

Thanks
 
Old 04-18-2013, 01:32 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Yes, you can try iostat and sar in Linux.

See manuals of iostat here and sar here. You can try %iowait or %idle options with sar cmd.

Also using top cmd, you can find process(es) that are consuming high memory and then can explore that proccess(es) IDs more in respect to disk I/O.

Last edited by shivaa; 04-18-2013 at 01:35 AM. Reason: Typo
 
Old 04-18-2013, 04:13 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,001

Rep: Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219
No.
If iotop doesn't give you what you want it (probably) means your kernel doesn't support taskstats - usually too old.
What kernel version ?.

collectl is likely to be a better option.
 
  


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
Incresing disk device to / root disk Redhat Enterprise server 4 lamoul Red Hat 1 03-25-2010 05:40 PM
Disk partitioning using Redhat question vijaykiran Linux - Software 4 05-31-2004 10:08 PM
Redhat 7.2 No DOSUTILS on Disk One JMO8 Red Hat 2 11-24-2003 08:27 AM
Redhat boot disk devans Linux - Software 5 09-11-2003 07:14 AM
can i get redhat boot disk(without having redhat installed) doublefailure Linux - General 7 10-23-2002 01:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 PM.

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