Date: Fri, 14 Sep 2007 14:09:17 +0100 From: Vince <jhary@unsane.co.uk> To: Bill Moran <wmoran@potentialtech.com> Cc: Thomas Sparrevohn <Thomas.Sparrevohn@btinternet.com>, freebsd-questions@freebsd.org, Preethi Natarajan <nataraja@cis.udel.edu> Subject: Re: CPU utilization Message-ID: <46EA87FD.9020902@unsane.co.uk> In-Reply-To: <20070914082946.558f9b45.wmoran@potentialtech.com> References: <46E93499.4060107@cis.udel.edu> <20070913113106.1c849c91.wmoran@potentialtech.com> <200709140922.20580.Thomas.Sparrevohn@btinternet.com> <20070914082946.558f9b45.wmoran@potentialtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Bill Moran wrote: > In response to Thomas Sparrevohn <Thomas.Sparrevohn@btinternet.com>: > >> On Thursday 13 September 2007 16:31:06 Bill Moran wrote: >>> In response to Preethi Natarajan <nataraja@cis.udel.edu>: >>> >>>> Hello, >>>> >>>> Is there a tool similar to mpstat (or mpstat itself) available to track >>>> CPU utilization on FreeBSD? I am looking for something more elaborate >>>> than top, and was wondering if anyone could help. >>> Depending on what you mean by "track", you might find SNMP+MRTG useful. >>> For example, I track: >>> http://www.potentialtech.com/mrtg/cpu.html >>> >> I must admit that I am missing a simple way of tracking idle CPU on a per CPU basis. Top and >> PS output are not easy to work with - Does MRTG+SNMP allow one to see individual CPU usage? > > There are no MIBs that I'm aware of that provide per-CPU stats. However, > both net-snmp and mrtg allow you to grab data from a shell command, so if > you can concoct a way to get the data, you can graph it. > > I've been struggling with this for memory usage. I think it would > be interesting to graph active, inactive, wired, buffer, and cache > memory (maybe not terribly useful, but interesting). I can't seem to > come up with a way to do so. > any of the vm sysctl entries any good? (vm.stats.vm particually.)I seem to recall that these scripts http://freshmeat.net/projects/bgraphs/ did a decent job for memory. I've no great ideas about multiple CPUs though. Vince
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46EA87FD.9020902>