diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-13 06:28:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-13 06:28:00 -0500 |
commit | 183f443a585a3659d807ee413e5b708d37a72924 (patch) | |
tree | 0290cdb28a22d59151aae228d24e10fa1b70d2af /cmd/podman/pods | |
parent | 85460bc41cb67e668bc8b7196346685691953176 (diff) | |
parent | a2367705be776d4e2b2f5ee0563c56e27ddcef8f (diff) | |
download | podman-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.go | 11 |
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) { |