stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Udara Liyanage <ud...@wso2.com>
Subject Re: How loadAverage is calculated
Date Sun, 04 May 2014 06:26:18 GMT
Hi Nirmal,

Thanks for the clarification.


On Sun, May 4, 2014 at 6:12 AM, Nirmal Fernando <nirmal070125@gmail.com>wrote:

> load average: 0.48, 0.34, 0.27
>
>
> On Sun, May 4, 2014 at 11:41 AM, Nirmal Fernando <nirmal070125@gmail.com>wrote:
>
>> Hi Udara,
>>
>> Load average outputted from top command is not a percentage:
>>
>>
>>
>> On Sun, May 4, 2014 at 11:31 AM, Udara Liyanage <udara@wso2.com> wrote:
>>
>>> Hi Nirmal,
>>>
>>> top command output load as a percentage, I want to know why it is again
>>> multiplied by 100.
>>>
>>>
>>> On Sun, May 4, 2014 at 5:42 AM, Nirmal Fernando <nirmal070125@gmail.com>wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Sun, May 4, 2014 at 9:42 AM, Udara Liyanage <udara@wso2.com> 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?
>>>>>
>>>>
>>>>  No, but you can find load averages too from top command.
>>>>
>>>>>
>>>>> [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
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Udara Liyanage
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> web: http://udaraliyanage.wordpress.com
>>> phone: +94 71 443 6897
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Mime
View raw message