What's using the disk so much?

Jonathan Arnold jdarnold at buddydog.org
Wed Oct 25 12:42:08 UTC 2006


Patrik Jansson wrote:
> 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.

Check out the port sysutils/lsof

-- 
Jonathan Arnold     (mailto:jdarnold at buddydog.org)
Daemon Dancing in the Dark, a FreeBSD weblog:
     http://freebsd.amazingdev.com/blog/

UNIX is user-friendly. It's just a bit picky about who its friends are.



More information about the freebsd-questions mailing list