On Thu, Jul 06, 2006 at 12:09:00PM -0400, Robert Story wrote:
> On Thu, 06 Jul 2006 16:48:34 +0100 Dave wrote:
> DS> Probably to support the implementation of the hrProcessorLoad object.
> DS> This is defined as reporting the load over the last minute, so needs to
> DS> sample the underlying statistics sufficiently frequently to be able to
> DS> calculate this load reasonably accurately.
> DS>   Polling once every 60s would give more-or-less meaningless results, 
> while
> DS> polling every second would be ridiculous.  I chose every 5s as a 
> compromise
> DS> between the two - sufficiently frequent to be fairly accurate, but not so
> DS> frequent as to put an undue load on the agent.
> DS> 
> DS> But this could easily be adjusted if the load was found to be too great.
> DS> See line 9 of hardware/cpu/cpu.c
> 
> Sounds reasonable. Might I suggest using /proc/loadavg as an optimization on
> Linux based single cpu systems? As long as someone else is already doing the
> work, we might as well take advantage of it..

Yes, but then there is getloadavg(3) which is present on both BSD and Linux,
that is, I think, even better.

> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to