Many WFC related improvements (WIP)
* Update systeminformation to 5.x * More work on WFC display of basic stats -- nearly complete * Disable idle timeout when on WFC
This commit is contained in:
@@ -366,7 +366,7 @@ class StatLog {
|
||||
|
||||
const basicSysInfo = {
|
||||
mem : 'total, free',
|
||||
currentLoad : 'avgload, currentLoad',
|
||||
currentLoad : 'avgLoad, currentLoad',
|
||||
};
|
||||
|
||||
SysInfo.get(basicSysInfo)
|
||||
@@ -380,8 +380,8 @@ class StatLog {
|
||||
|
||||
const loadStats = {
|
||||
// Not avail on BSD, yet.
|
||||
average : _.get(sysInfo, 'currentLoad.avgload', 0),
|
||||
current : _.get(sysInfo, 'currentLoad.currentLoad', 0),
|
||||
average : _.get(sysInfo, 'currentLoad.avgLoad', 0).toFixed(2),
|
||||
current : _.get(sysInfo, 'currentLoad.currentLoad', 0).toFixed(2),
|
||||
};
|
||||
|
||||
this.setNonPersistentSystemStat(SysProps.SystemLoadStats, loadStats);
|
||||
|
||||
Reference in New Issue
Block a user