Date: Fri, 13 Aug 2004 16:46:03 -0400 From: token <chip.gwyn@gmail.com> To: drift@freebsd.org Cc: freebsd-questions@freebsd.org Subject: Re: Monitor Disk Usage (Unusual Load Avgs) Message-ID: <64a8ad98040813134647a890e6@mail.gmail.com> In-Reply-To: <20040813130029.AC91A43D6B@mx1.FreeBSD.org> References: <20040813130029.AC91A43D6B@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <steve@drifthost.com> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64a8ad98040813134647a890e6>