Hi, I run into that question before and after goggling I found this useful site. Actually you need a combination of commands and a little bash skills. But an example provided is enough for me :) I hope this helps.
http://www.performancewiki.com/diskio-tuning.html On 10/14/07, Gerald Timothy Quimpo <[EMAIL PROTECTED]> wrote: > > hi all, > > Occasionally I'd like to know which application(s) is/are using the most > disk bandwidth. The reason is, on my desktop and my laptop, I often > have background jobs which do a lot of IO and I'd like to know which > program it is exactly so I can take appropriate action if IO is slowing > down interactivity too much. > > Generally, I already have a reasonably good system (svn, git, updatedb, > doxygen, rdiff-backup and other IO intensive programs normally run > under ionice -c 2 -n 7 since interactivity is more important than > pure time-to-finish). but sometimes I still see IO storms and my > desktop (less often my laptop, since I do more on my desktop and it's > a slower computer) will stall for 5-10 seconds and then continue. > > top will almost always show me what the IO hogging apps are because > normally there's a good correlation between IO use and CPU use, but > that's not always the case. > > apart from sar, iostate, vmstat, (none of which, AFAICT, will show > me what application is hogging the disk) what command line monitoring > program is there that will show disk hogging by program name (not just > aggregate numbers per device). > > tiger > > _________________________________________________ > Philippine Linux Users' Group (PLUG) Mailing List > [email protected] (#PLUG @ irc.free.net.ph) > Read the Guidelines: http://linux.org.ph/lists > Searchable Archives: http://archives.free.net.ph > -- Mike Calizo Registered Linux User # 365113 _________________________________________________ Even the longest journey has to start with a small first-step
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

