identify i/o process

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue May 1 22:06:33 UTC 2007


On Tue, May 01, 2007 at 04:29:29PM -0400, Jose wrote:
> I am having problem with a server, ti slows down and the disk i/o goes 
> to 100%, I couldn't figure out how to run ps to allow me to see which 
> process is the one giving me the trouble, does anybody know how to 
> identify process doing lots of disk i/o?
> 
> Thanks in advance for your help

Well any process stuck waiting for IO will be in state 'D', so you could
look for those (using ps or top or whatever you prefer).  I imagine
there are tools to find out what is doing io but I haven't ever needed
to find out badly enough to figure that out.

vmstat is also handy for showing how much io and swap is taking place.
After all if you are constantly swapping you will see lots of disk io.
vmstat 1 or vmstat 5 or something is handy for that.

--
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list