summaryrefslogtreecommitdiff
path: root/docs/podman-stats.1.md
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-02-10 08:58:46 -0600
committerbaude <bbaude@redhat.com>2019-02-10 11:27:09 -0600
commit4994fecd4604e17844d9e91fa710407701d6d85a (patch)
tree20bcb3c8e15f07a1c2a7d889d7c4813cd1d25086 /docs/podman-stats.1.md
parentc86e8f180c8b0cdbd1bafe327c4671370096c45f (diff)
downloadpodman-4994fecd4604e17844d9e91fa710407701d6d85a.tar.gz
podman-4994fecd4604e17844d9e91fa710407701d6d85a.tar.bz2
podman-4994fecd4604e17844d9e91fa710407701d6d85a.zip
Podman pod stats -- fix GO template output
Go templates were not being processed or printed correctly for podman pod stats. Added the ability to do templates as well as honor the table identifier. Fixes #2258 Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'docs/podman-stats.1.md')
-rw-r--r--docs/podman-stats.1.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/podman-stats.1.md b/docs/podman-stats.1.md
index 8fc765326..d0b56b2e6 100644
--- a/docs/podman-stats.1.md
+++ b/docs/podman-stats.1.md
@@ -36,16 +36,17 @@ Valid placeholders for the Go template are listed below:
| **Placeholder** | **Description** |
| --------------- | --------------- |
-| .ID | Container ID |
+| .Pod | Pod ID |
+| .CID | Container ID |
| .Name | Container Name |
-| .CPUPerc | CPU percentage |
+| .CPU | CPU percentage |
| .MemUsage | Memory usage |
-| .MemPerc | Memory percentage |
+| .Mem | Memory percentage |
| .NetIO | Network IO |
| .BlockIO | Block IO |
| .PIDS | Number of PIDs |
-
+When using a GO template, you may preceed the format with `table` to print headers.
## EXAMPLE
```