this is why I love solaris,with dtrace,it's as simple as iotop<br><br>in linux part <br>echo 1 > /proc/sys/vm/block_dump and dmesg might be the close solution<br><br><div><span class="gmail_quote">On 5/1/07, <b class="gmail_sendername">
Lennart Sorensen</b> <<a href="mailto:lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys@public.gmane.org">lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys@public.gmane.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, May 01, 2007 at 04:29:29PM -0400, Jose wrote:<br>> I am having problem with a server, ti slows down and the disk i/o goes<br>> to 100%, I couldn't figure out how to run ps to allow me to see which<br>> process is the one giving me the trouble, does anybody know how to
<br>> identify process doing lots of disk i/o?<br>><br>> Thanks in advance for your help<br><br>Well any process stuck waiting for IO will be in state 'D', so you could<br>look for those (using ps or top or whatever you prefer). I imagine
<br>there are tools to find out what is doing io but I haven't ever needed<br>to find out badly enough to figure that out.<br><br>vmstat is also handy for showing how much io and swap is taking place.<br>After all if you are constantly swapping you will see lots of disk io.
<br>vmstat 1 or vmstat 5 or something is handy for that.<br><br>--<br>Len Sorensen<br>--<br>The Toronto Linux Users Group. Meetings: <a href="http://gtalug.org/">http://gtalug.org/</a><br>TLUG requests: Linux topics, No HTML, wrap text below 80 columns
<br>How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists">http://gtalug.org/wiki/Mailing_lists</a><br></blockquote></div><br>