Reply To: IMPOSSIBLE PROCESSOR LOAD 2503%

Home Page Forums Network Management Signal a BUG IMPOSSIBLE PROCESSOR LOAD 2503% Reply To: IMPOSSIBLE PROCESSOR LOAD 2503%

#54257

iulyb
Member

100.92 100.51 100.3 are the average system load (short time, medium time, long time)

Basically your load is 100 / 4 approx 25. So ZS should display something around 25
This is high but should have nothing to do with what ZS display.

I just did a check and this is the command used by ZS.


uptime |awk -F"average:" '{print $2}' |awk -F"," '{print $3}' |awk '{print $1}'

this script is in kerbynet/api/LOAD15
Similar script is in scripts/bitrate (perl) the one that produce the result on ZS main page but is slightly different:

uptime|awk -F'average:' '{print $2}'|awk -F, '{print $1}'

Please check both commands from command line to see if they return right or not. On my laptop and my ZS system returns right

$ uptime
16:19:21 up 1 day, 21:05, 2 users, load average: 0.33, 0.40, 0.34
$ uptime |awk -F"average:" '{print $2}' |awk -F"," '{print $3}' |awk '{print $1}'
0.40