From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 20:46:20 2004 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 41B2616A4CE for ; Fri, 13 Aug 2004 20:46:20 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F4CA43D49 for ; Fri, 13 Aug 2004 20:46:18 +0000 (GMT) (envelope-from chip.gwyn@gmail.com) Received: by mproxy.gmail.com with SMTP id w67so17964cwb for ; Fri, 13 Aug 2004 13:46:11 -0700 (PDT) Received: by 10.11.117.21 with SMTP id p21mr46428cwc; Fri, 13 Aug 2004 13:46:11 -0700 (PDT) Message-ID: <64a8ad98040813134647a890e6@mail.gmail.com> Date: Fri, 13 Aug 2004 16:46:03 -0400 From: token To: drift@freebsd.org In-Reply-To: <20040813130029.AC91A43D6B@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20040813130029.AC91A43D6B@mx1.FreeBSD.org> cc: freebsd-questions@freebsd.org Subject: Re: Monitor Disk Usage (Unusual Load Avgs) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: token List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2004 20:46:20 -0000 Steve, There's the obligatory 'ps -ax' to see what's running. You can also run 'top' to get a constantly updated display of processes. Some other stuff you may want to look around with is 'systat' . Just running the command doesn't show a whole lot but with various options and such you can pull some useful info, check the man page. Something else is 'lsof' which lists open files and such, can help you get an idea of what's open and running. You can also run 'man -k stat' and find lots of other goodies. To find out what DMA mode is running, check your dmesg. 'dmesg | grep DMA' While I can't provide a specific answer to your questions I've pointed out some things that may help you find what you're looking for. Let us know what you find. --chip On Fri, 13 Aug 2004 23:00:19 +1000, Steven Adams wrote: > Hi, > > Server specs > > Dual p4 xeon 2.4 (4virtual cpus) > 1gig ecc ram > 5x 36gig 10k rpm scsi on a ami megaraid > > I only host a few web sites on this server which at the most peak hour of > times there is only about 6-7%cpu usage. For some reason my load avg's will > jump from 0.05 to 0.98 even to 1.50 when the cpu is only using 3%. > > I am thinking something is using the hard drive as I have load avg peaks of > 6.0-7.0. > > I want to find out what is causing this as im curious to why they get so > high. > > Does anyone know how to find out what running processes are using the > harddrive or something like that?? > > Also how do I check if DMA mode is enabled, I know there is a hdparm in > linux but I cant find anything like that for freebsd.. > > Thanks for you help > Steve > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >