From owner-freebsd-questions@FreeBSD.ORG Wed Oct 25 12:40:55 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 B6E2E16A416 for ; Wed, 25 Oct 2006 12:40:55 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCD2B43D69 for ; Wed, 25 Oct 2006 12:40:53 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 25 Oct 2006 08:40:52 -0400 id 00056413.453F5B54.00006757 Received: from Internal Mail-Server (206.210.89.202) by mx01 (envelope-from wmoran@collaborativefusion.com) with AES256-SHA encrypted SMTP; 25 Oct 2006 08:34:51 -0400 Date: Wed, 25 Oct 2006 08:40:51 -0400 From: Bill Moran To: Patrik Jansson Message-Id: <20061025084051.9b7d583d.wmoran@collaborativefusion.com> In-Reply-To: <453F5299.6060104@aleborg.se> References: <453F5299.6060104@aleborg.se> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Liste FreeBSD 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:40:55 -0000 In response to Patrik Jansson : > 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.