Merge remote-tracking branch 'remotes/stokito/uptime'

This commit is contained in:
Bradley Cicenas
2021-06-10 22:01:45 -04:00
7 changed files with 42 additions and 3 deletions

View File

@@ -71,6 +71,11 @@ var defaultColumns = []Column{
Label: "Container PID Count",
Enabled: true,
},
Column{
Name: "uptime",
Label: "Running uptime duration",
Enabled: true,
},
}
type Column struct {

View File

@@ -14,7 +14,7 @@ var defaultParams = []*Param{
},
&Param{
Key: "columns",
Val: "status,name,id,cpu,mem,net,io,pids",
Val: "status,name,id,cpu,mem,net,io,pids,uptime",
Label: "Enabled Columns",
},
}