Date: Fri, 14 Sep 2007 08:29:46 -0400 From: Bill Moran <wmoran@potentialtech.com> To: Thomas Sparrevohn <Thomas.Sparrevohn@btinternet.com> Cc: freebsd-questions@freebsd.org, Preethi Natarajan <nataraja@cis.udel.edu> Subject: Re: CPU utilization Message-ID: <20070914082946.558f9b45.wmoran@potentialtech.com> In-Reply-To: <200709140922.20580.Thomas.Sparrevohn@btinternet.com> References: <46E93499.4060107@cis.udel.edu> <20070913113106.1c849c91.wmoran@potentialtech.com> <200709140922.20580.Thomas.Sparrevohn@btinternet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Bill Moran http://www.potentialtech.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070914082946.558f9b45.wmoran>