From owner-freebsd-questions@FreeBSD.ORG Wed Oct 25 12:57:21 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03FA616A4B3 for ; Wed, 25 Oct 2006 12:57:21 +0000 (UTC) (envelope-from fbsd@aleborg.se) Received: from mxfep03.bredband.com (mxfep03.bredband.com [195.54.107.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 894C443EA9 for ; Wed, 25 Oct 2006 12:52:31 +0000 (GMT) (envelope-from fbsd@aleborg.se) Received: from ironport2.bredband.com ([195.54.107.84] [195.54.107.84]) by mxfep03.bredband.com with ESMTP id <20061025125204.MXBG18511.mxfep03.bredband.com@ironport2.bredband.com> for ; Wed, 25 Oct 2006 14:52:04 +0200 Received: from static-213-115-135-237.sme.bredbandsbolaget.se (HELO [213.115.135.237]) ([213.115.135.237]) by ironport2.bredband.com with ESMTP; 25 Oct 2006 14:52:03 +0200 Message-ID: <453F5DF6.5070207@aleborg.se> Date: Wed, 25 Oct 2006 14:52:06 +0200 From: Patrik Jansson User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <453F5299.6060104@aleborg.se> <200610251539.21200.nvass@teledomenet.gr> In-Reply-To: <200610251539.21200.nvass@teledomenet.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: What's using the disk so much? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2006 12:57:21 -0000 >> 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. >> > use "top -m io" I have completly missed that option, thanks. I will also checkout sysustils/lsof which J.A. recommended. -Patrik