identify i/o process
jon
jonzou-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue May 1 23:19:49 UTC 2007
this is why I love solaris,with dtrace,it's as simple as iotop
in linux part
echo 1 > /proc/sys/vm/block_dump and dmesg might be the close solution
On 5/1/07, Lennart Sorensen <lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org> wrote:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20070501/63ada5a1/attachment.html>
More information about the Legacy
mailing list