We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c29776 commit 9284bafCopy full SHA for 9284baf
lib/views/cpu-view.js
@@ -43,7 +43,7 @@ class CpuView {
43
}
44
45
onEvent(data) {
46
- this.line.setLabel(` cpu utilization (${data.cpu.utilization}%) `);
+ this.line.setLabel(` cpu utilization (${data.cpu.utilization.toFixed(1)}%) `);
47
this.cpuHistory.push(data.cpu.utilization);
48
if (this.cpuHistory.length > this.historyDepth) {
49
this.cpuHistory.shift();
0 commit comments