mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Add router load average
This commit is contained in:
parent
698e52c243
commit
eaaa5a100b
1 changed files with 5 additions and 0 deletions
|
@ -344,6 +344,11 @@ return baseclass.extend({
|
|||
value: datestr
|
||||
},
|
||||
|
||||
load: {
|
||||
title: _('Load Average'),
|
||||
value: Array.isArray(systeminfo.load) ? '%.2f, %.2f, %.2f'.format(systeminfo.load[0] / 65535.0,systeminfo.load[1] / 65535.0,systeminfo.load[2] / 65535.0) : null
|
||||
},
|
||||
|
||||
kernel: {
|
||||
title: _('Kernel Version'),
|
||||
value: boardinfo.kernel
|
||||
|
|
Loading…
Reference in a new issue