Home > Ask the Enterprise Linux Experts > Linux migration and administration Questions & Answers > How can I pinpoint the I/O hogs in my systems?
Ask The Enterprise Linux Expert: Questions & Answers
EMAIL THIS

How can I pinpoint the I/O hogs in my systems?

Kenneth Milberg EXPERT RESPONSE FROM: Kenneth Milberg

Pose a Question
Other Enterprise Linux Categories
Meet all Enterprise Linux Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 19 May 2003
I'm looking for commands that pinpoint and check a process that is generating a high disk I/O (input/output) read.

What would that command be in Solaris 8? What would it be in Linux?


>
If you had said CPU or disk, that question would be very easy. Variations of the ps command could give you what you need.

I/O is much trickier! You'll need to do some work here -- there is no one magic command, though I'll mention a neat one at the end.

I like to try a variation of ps, iostat and lsof to determine what is eating up my I/O resources. You may need to download this utility from a site like http://www.stokely.com/unix.sysadm.resources/shareware.www.html.

iostat will give you a sense of what disks are busy and lsof will tell you what files are open at a given time and the placement of the files by filesystems and/or directory. Variations of the ps command will help you identify the top running processes on your system.

Did I say top? If your system does not come with it already, you can also get a copy of TOP, available for Solaris and Linux, that will also identify the top running processes on your system. From there, with a little more work, you should be able to find the I/O hogs.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Linux Migration Advice: Unix-to-Linux, Windows-to-Linux
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts