aboutsummaryrefslogtreecommitdiff
path: root/docs/source/markdown
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-08-17 13:14:46 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2022-08-17 13:16:01 -0400
commit546bb3548ce9af58ebf0a627eb66ea7ad2163c6b (patch)
tree62322b34576d439ee2b3887a7df7dd88d3a137dc /docs/source/markdown
parent5de215e1447af96ec2b199794cd425b75a2da08a (diff)
downloadpodman-546bb3548ce9af58ebf0a627eb66ea7ad2163c6b.tar.gz
podman-546bb3548ce9af58ebf0a627eb66ea7ad2163c6b.tar.bz2
podman-546bb3548ce9af58ebf0a627eb66ea7ad2163c6b.zip
Add podman stats --no-trunc option
This is for compatibility with Docker. Partial fix for https://github.com/containers/podman/issues/14917 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs/source/markdown')
-rw-r--r--docs/source/markdown/podman-stats.1.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-stats.1.md b/docs/source/markdown/podman-stats.1.md
index d87da6a60..8d07be1a0 100644
--- a/docs/source/markdown/podman-stats.1.md
+++ b/docs/source/markdown/podman-stats.1.md
@@ -61,6 +61,10 @@ Do not clear the terminal/screen in between reporting intervals
Disable streaming stats and only pull the first result, default setting is false
+#### **--no-trunc**
+
+Do not truncate output
+
## EXAMPLE
```
@@ -77,6 +81,12 @@ a9f807ffaacd frosty_hodgkin -- 3.092MB / 16.7GB 0.02% -- / -- --
```
```
+$ podman stats --no-trunc 3667 --format 'table {{ .ID }} {{ .MemUsage }}'
+ID MEM USAGE / LIMIT
+3667c6aacb06aac2eaffce914c01736420023d56ef9b0f4cfe58b6d6a78b7503 49.15kB / 67.17GB
+```
+
+```
# podman stats --no-stream --format=json a9f80
[
{