Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2006 08:41:35 -0400
From:      Jonathan Arnold <jdarnold@buddydog.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: What's using the disk so much?
Message-ID:  <ehnm1v$5tj$1@sea.gmane.org>
In-Reply-To: <453F5299.6060104@aleborg.se>
References:  <453F5299.6060104@aleborg.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ehnm1v$5tj$1>