From owner-freebsd-questions@FreeBSD.ORG Wed Oct 25 12:38:51 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 7C73516A415 for ; Wed, 25 Oct 2006 12:38:51 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from matrix.teledomenet.gr (dns1.teledomenet.gr [213.142.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A86BB43D45 for ; Wed, 25 Oct 2006 12:38:49 +0000 (GMT) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by matrix.teledomenet.gr (8.12.10/8.12.10) with ESMTP id k9PCcjEY007520; Wed, 25 Oct 2006 15:38:45 +0300 From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Wed, 25 Oct 2006 15:39:20 +0300 User-Agent: KMail/1.9.1 References: <453F5299.6060104@aleborg.se> In-Reply-To: <453F5299.6060104@aleborg.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610251539.21200.nvass@teledomenet.gr> Cc: Patrik Jansson 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:38:51 -0000 On Wednesday 25 October 2006 15:03, 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. use "top -m io" Nikos