Skip to content

Commit

Permalink
Use a more sensible format for load average
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Feichtinger <[email protected]>
  • Loading branch information
PeterFeicht authored Jul 9, 2024
1 parent 303ddee commit a487e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
});
}

$cpuFooterInfo.text(t('serverinfo', 'Load average: {cpu} (last minute)', { cpu: cpu1 }));
$cpuFooterInfo.text(t('serverinfo', 'Load average: {cpu} (last minute)', { cpu: cpu1.toFixed(2) }));
cpuLoadLine.append(new Date().getTime(), cpu1);
}

Expand Down

0 comments on commit a487e42

Please sign in to comment.