mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
#207 Replace scaleCpu option with dedicated column CPU Scaled
The new column is disabled by default.
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user