Hiii,
I have gone through that cpu load calculation but the doubt is that
the cpu load chart of * Y-axis* is showing in the *range of 200, 400, 600,
800 *like that. I have attached the screenshot below. But that's not right.
It *should be in the range of 0 to 100% *What am thinking. Is there any
specific reason why in the chart it's showing usage of 712% of cpu, 800% of
cpu etc like that.
Thanks in advance.
[image: image.png]
On Tue, Jul 11, 2023 at 7:17 PM Manukumar NM <[email protected]>
wrote:
> sure...thanks for your valuable information.
>
> On Tue, Jul 11, 2023 at 6:41 PM Federico Capoano <[email protected]>
> wrote:
>
>> This blog post summarizes the concept:
>> https://www.digitalocean.com/community/tutorials/load-average-in-linux
>>
>> There's similar resources online to dig deeper.
>>
>> Federico
>>
>> On Tue, 11 Jul 2023 at 09:09, Manukumar NM <[email protected]>
>> wrote:
>>
>>> I have gone through the code but I didn't understand it because here we
>>> are taking the first value of the load, For example:* load[0][1][2] =
>>> **0.37,
>>> 0.24,* * 0.17 **and cpus = 1*. Calculation goes like this according to
>>> the code: *100 * float(load[0] / cpus) i.e = 100 * (0.37 / 1) = 37. *
>>>
>>> On Tue, Jul 11, 2023 at 5:45 PM Manukumar NM <[email protected]>
>>> wrote:
>>>
>>>> Greetings...
>>>> Hi team,
>>>> In openwisp2, on what basis the *cpu
>>>> load* is calculated and where can i find the logic in
>>>> *"OPENWISP_MONITORING*" module.
>>>>
>>>> Thanks in advance.
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "OpenWISP" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web, visit
>>> https://groups.google.com/d/msgid/openwisp/CAG6AGHfmHSHKiSyyuJMTfgCzodCRi-zikPUb8R9yz9iKvXi1PQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/openwisp/CAG6AGHfmHSHKiSyyuJMTfgCzodCRi-zikPUb8R9yz9iKvXi1PQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "OpenWISP" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web, visit
>> https://groups.google.com/d/msgid/openwisp/CAAGgX6K9zSru2EVVoAD3LwPRMi-yepv9Ax%3DVJOCjN444KyoC3w%40mail.gmail.com
>> <https://groups.google.com/d/msgid/openwisp/CAAGgX6K9zSru2EVVoAD3LwPRMi-yepv9Ax%3DVJOCjN444KyoC3w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/openwisp/CAG6AGHeCBdG7b-Y6WsjgRETBmaGV5hwzWprCw5mUcxXKwHnkbQ%40mail.gmail.com.