LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-09-2007, 10:22 AM   #1
bostonthunder777
Member
 
Registered: Jul 2007
Posts: 30

Rep: Reputation: 15
Question IO Issue


We have been having a host with high I/O and iostat shows high writes on the root disk. Is there command/util to find which process is writing files to disk?

Thanks,
 
Old 11-09-2007, 03:42 PM   #2
bostonthunder777
Member
 
Registered: Jul 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Anyone got this??
 
Old 11-09-2007, 04:30 PM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Perhaps lsof?
 
Old 11-10-2007, 05:58 PM   #4
bostonthunder777
Member
 
Registered: Jul 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Nahh.. lsof lists only open files.
 
Old 11-10-2007, 09:21 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Have a look at taskstats - needs to be turned on in the kernel config, and (presumably) adds overhead.
Some doco at ../Documentation/accounting
 
Old 11-10-2007, 10:50 PM   #6
FraGGod
Member
 
Registered: Jun 2007
Location: Yekaterinburg, RU
Distribution: gentoo
Posts: 59

Rep: Reputation: 16
atop can show you i/o activity of a process or group of similar processes (like apache childs swarm)
 
Old 11-11-2007, 12:51 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Last I looked, atop needed the kernel patch. Might be hard to do in an enterprise.
 
Old 11-11-2007, 06:16 PM   #8
bostonthunder777
Member
 
Registered: Jul 2007
Posts: 30

Original Poster
Rep: Reputation: 15
I cant add additional load on the system. ALready we have a excuse banner on the home page :-)

Lemme give some background.. Its IMAP hosts and most the data is mails(small files). Currently ext3, but tested with reiser and vxfs.
 
Old 11-11-2007, 06:39 PM   #9
bostonthunder777
Member
 
Registered: Jul 2007
Posts: 30

Original Poster
Rep: Reputation: 15
mine is x64. atop seems to work only on x86
 
  


Reply



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
SuSE10.2 networking issue Inter. connect. issue LVSuSE Linux - Networking 3 08-31-2007 02:42 AM
Sendmail issue (did not issue MAIL/EXPNVRFY/ETRN ...) Blackout_08 Linux - Server 0 08-08-2007 01:10 PM
Slack 10.1 -- Mouse issue / X11 issue Pozican Linux - General 4 04-19-2005 03:44 AM
webmin issue, poss security issue bejiita Slackware 3 11-03-2004 06:07 AM
Having Issue w/ Truetype fonts - Mozilla Issue clove Linux - Software 4 02-18-2004 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:38 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
Open Source Consulting | Domain Registration