#207 Replace scaleCpu option with dedicated column CPU Scaled

The new column is disabled by default.
This commit is contained in:
Sergey Ponomarev
2020-11-20 23:08:19 +02:00
parent 2792e72d18
commit f377dcaee2
9 changed files with 25 additions and 33 deletions

View File

@@ -26,6 +26,11 @@ var defaultColumns = []Column{
Label: "CPU Usage",
Enabled: true,
},
Column{
Name: "cpus",
Label: "CPU Usage as % of system total",
Enabled: false,
},
Column{
Name: "mem",
Label: "Memory Usage",

View File

@@ -22,11 +22,6 @@ var defaultSwitches = []*Switch{
Val: true,
Label: "Enable status header",
},
&Switch{
Key: "scaleCpu",
Val: false,
Label: "Show CPU as %% of system total",
},
}
type Switch struct {