check_load --- divide by number of cpus?

Thomas Guyot-Sionnest dermoth at aei.ca
Sat May 10 00:39:15 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/05/08 10:14 AM, Mike Emigh wrote:
> On Fri, May 9, 2008 at 9:57 AM, Jay R. Ashworth <jra at baylink.com> wrote:
>> On Fri, May 09, 2008 at 09:31:07AM -0400, Mike Emigh wrote:
>>> You're right, it wouldn't work with just a single-threaded process.
>>> I'm not sure of the specifics of how this would happen, but with
>>> Oracle we've seen it maxing two CPUs and raising the load to 56 while
>>> the 6 other cores in the 8 core machine sat idle.  As these situations
>>> are possible simply dividing by the number of cores wouldn't provide
>>> precise insight into what's going on.
>> In light of *this*, it seems to me that the desired goal is to figure
>> out a way to get the load average *per processor*, and then have one
>> check_load per processor.

load average *per processor*? Never heard of that... do you have any
example for getting that (if it even exists)?

>> Alternatively, you could get those numbers that top(1) displays for
>> utilization percentages, and massage *those* to get your load results
>> per proc; those are split.  But you'd need to average them.

check_load has had the ability to divide per cpu for some time now (-r
switch) but it doesn't work on every architecture. I was also thinking
it would be nice to be able to specify the number of cpus for the archs
that can't detect it...

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIJNKT6dZ+Kt5BchYRAhhYAJ9+Q1VZNHJg5Bka21A1VHJ96zauBQCg5Q3J
r9mLNJllR8IaLrF0Q5XKtwc=
=F23M
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list