summaryrefslogtreecommitdiff
path: root/cmd/podman/pods
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-13 06:28:00 -0500
committerGitHub <noreply@github.com>2021-01-13 06:28:00 -0500
commit183f443a585a3659d807ee413e5b708d37a72924 (patch)
tree0290cdb28a22d59151aae228d24e10fa1b70d2af /cmd/podman/pods
parent85460bc41cb67e668bc8b7196346685691953176 (diff)
parenta2367705be776d4e2b2f5ee0563c56e27ddcef8f (diff)
downloadpodman-183f443a585a3659d807ee413e5b708d37a72924.tar.gz
podman-183f443a585a3659d807ee413e5b708d37a72924.tar.bz2
podman-183f443a585a3659d807ee413e5b708d37a72924.zip
Merge pull request #8957 from srcshelton/feature/issue-8945
Add 'MemUsageBytes' format option
Diffstat (limited to 'cmd/podman/pods')
-rw-r--r--cmd/podman/pods/stats.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/cmd/podman/pods/stats.go b/cmd/podman/pods/stats.go
index 79e7cd8ed..5f79fa016 100644
--- a/cmd/podman/pods/stats.go
+++ b/cmd/podman/pods/stats.go
@@ -75,11 +75,12 @@ func stats(cmd *cobra.Command, args []string) error {
doJSON := report.IsJSON(row)
headers := report.Headers(entities.PodStatsReport{}, map[string]string{
- "CPU": "CPU %",
- "MemUsage": "MEM USAGE/ LIMIT",
- "MEM": "MEM %",
- "NET IO": "NET IO",
- "BlockIO": "BLOCK IO",
+ "CPU": "CPU %",
+ "MemUsage": "MEM USAGE/ LIMIT",
+ "MemUsageBytes": "MEM USAGE/ LIMIT",
+ "MEM": "MEM %",
+ "NET IO": "NET IO",
+ "BlockIO": "BLOCK IO",
})
for ; ; time.Sleep(time.Second) {