From owner-freebsd-questions@FreeBSD.ORG Sun Aug 10 15:05:51 2003 Return-Path: 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 737B437B405 for ; Sun, 10 Aug 2003 15:05:51 -0700 (PDT) Received: from munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 823E443FAF for ; Sun, 10 Aug 2003 15:05:50 -0700 (PDT) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.20) id 19lyJx-000Ccm-Ti for questions@freebsd.org; Sun, 10 Aug 2003 23:05:49 +0100 Date: Sun, 10 Aug 2003 23:05:49 +0100 From: Jez Hancock To: questions@freebsd.org Message-ID: <20030810220549.GA47637@users.munk.nu> Mail-Followup-To: questions@freebsd.org References: <20030810142709.K1213@thor.65535.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030810142709.K1213@thor.65535.net> User-Agent: Mutt/1.4.1i Sender: User Munk Subject: Re: Which process are waiting for I/O? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2003 22:05:51 -0000 On Sun, Aug 10, 2003 at 02:28:00PM -0700, Rus Foster wrote: > Hi All, > I've got a box which is getting high loads as process are starting waiting > for I/O but I can't track down the process as I think they stop/start > quickly. Any ideas of how to track it down? Use lsof. Read through the manpage for more info and check out the sample lsof scripts in the lsof tarball. lsof is in the ports tree under /usr/ports/sysutils/lsof. -- Jez http://www.munk.nu/