"The system load average is the sum of the number of runnable entities
queued to the available processors and the number of runnable entities
running on the available processors averaged over a period of time. The way
in which the load average is calculated is operating system specific but is
typically a damped time-dependent average."

http://docs.oracle.com/javase/6/docs/api/java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()


On Sun, May 4, 2014 at 9:42 AM, Udara Liyanage <[email protected]> wrote:

> Hi,
>
> Doc[1] says the formula to calculate loadAverage is as below.
>
>  (loadAvg/cores)*100
>
> Is loadAvg same as CPU usage we get when "top" command is executed?
>
> [1]
> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Sample+Auto-scaling+Policy+Definition
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PPMC Member, Apache Stratos

Reply via email to