mirror of https://github.com/containers/podman.git
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:
parent
22effe8d40
commit
c5a71c4fdc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue