check_load --- divide by number of cpus?

Terry td3201 at gmail.com
Thu May 8 16:49:43 CEST 2008


This is the logic I was looking for.  This makes sense.  Apache with
prefork is not multithreaded and this type of logic is great. But do
you shoot yourself in the foot for multithreaded processes?

On Thu, May 8, 2008 at 9:31 AM, Mike Emigh <maemigh at gmail.com> wrote:
>
> On Thu, May 8, 2008 at 9:49 AM, Terry <td3201 at gmail.com> wrote:
>  > I am sitting here racking my brain on this one.  Is dividing the load
>  > average by the number of CPUs a smart thing to do?  the 'uptime'
>  > command on a box does not do this.  So, if I have an 8 core box
>  > sitting with a load average of 8, its the same as a single core box
>  > sitting with a load average of 1?  I'll see the same type of server
>  > response?  Thoughts?
>  >
>
>  It's not necessarily the same.  If you have a single-threaded process
>  pegging one of the cores, your load average can hit 8 even if the 7
>  other cores are sitting idle.
>
>
>
>  -------------------------------------------------------------------------
>  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
>

-------------------------------------------------------------------------
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