What's using the disk so much?

Bill Moran wmoran at collaborativefusion.com
Wed Oct 25 12:40:55 UTC 2006


In response to Patrik Jansson <fbsd at aleborg.se>:

> Hi,
> vmstat reports that quite a few processes are waiting for io (disk access)
> so I ran gstat to see how much the drive is working and it says more or
> less 100% constantly.
> How can I determine which process (if it's mostly one single process) is
> using the disk so much? top says the CPU is mostly idle.

In top, hit the 'm' key and it will switch to an IO view that shows
per-process IO usage.

This feature of top was added some time after 4.X.

-- 
Bill Moran
Collaborative Fusion Inc.


More information about the freebsd-questions mailing list