Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2006 08:40:51 -0400
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        Patrik Jansson <fbsd@aleborg.se>
Cc:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: What's using the disk so much?
Message-ID:  <20061025084051.9b7d583d.wmoran@collaborativefusion.com>
In-Reply-To: <453F5299.6060104@aleborg.se>
References:  <453F5299.6060104@aleborg.se>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Patrik Jansson <fbsd@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061025084051.9b7d583d.wmoran>