Apply suggestions from code review

Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh 2024-02-20 05:49:04 -05:00 committed by GitHub
parent 22effe8d40
commit c5a71c4fdc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -87,21 +87,21 @@ a9f807ffaacd frosty_hodgkin -- 3.092MB / 16.7GB 0.02% -- / -- -
3b33001239ee sleepy_stallman -- -- / -- -- -- / -- -- / -- --
```
List specified container statistics in streaming mode:
List the specified container's statistics in streaming mode:
```
# podman stats a9f80
ID NAME CPU % MEM USAGE / LIMIT MEM % NET IO BLOCK IO PIDS
a9f807ffaacd frosty_hodgkin -- 3.092MB / 16.7GB 0.02% -- / -- -- / -- 2
```
List specified statistics about specified container in table format:
List the specified statistics about the specified container in table format:
```
$ podman stats --no-trunc 3667 --format 'table {{ .ID }} {{ .MemUsage }}'
ID MEM USAGE / LIMIT
3667c6aacb06aac2eaffce914c01736420023d56ef9b0f4cfe58b6d6a78b7503 49.15kB / 67.17GB
```
List specified container statistics in JSON format:
List the specified container statistics in JSON format:
```
# podman stats --no-stream --format=json a9f80
[
@ -118,7 +118,7 @@ List specified container statistics in JSON format:
]
```
List specified container statistics in table format:
List the specified container statistics in table format:
```
# podman stats --no-stream --format "table {{.ID}} {{.Name}} {{.MemUsage}}" 6eae
ID NAME MEM USAGE / LIMIT