podman-pod-stats(1)
π podman-pod-stats(1) β General Commands Manual π
okay bestie, welcome to the manual page for podman-pod-stats β¨ (that's the man page name right there in the header, we love a title drop)
πΈ NAME πΈ
podman-pod-stats β display a live stream of resource usage stats for containers in one or more pods π«Ά
β¨ SYNOPSIS β¨
podman pod stats [options] [pod]
π¦ DESCRIPTION π¦
So basically? It shows you a live stream of the resource usage statistics of the containers inside one or more pods. real-time tea, constantly updating π
heads up: running rootless is only supported on cgroups v2. no cgroups v2, no rootless vibes, that's just how it is π
π OPTIONS π
--all,-aβ show all the containers. by default only running containers get shown, so this is the "I want everybody" button π--format=templateβ pretty-print the container statistics as JSON, or using a Go template. slay β¨
Here are the valid placeholders for the Go template, no cap:
.BlockIOβ Block IO.CIDβ Container ID.CPUβ CPU percentage.Memβ Memory percentage.MemUsageβ Memory usage.MemUsageBytesβ Memory usage (IEC).Nameβ Container Name.NetIOβ Network IO.PIDSβ Number of PIDs.Podβ Pod ID
and when you're using a Go template, put table in front of the format to print the headers π
--latest,-lβ instead of handing over the pod name or ID, just use the last created pod. convenient fr fr.
note: the last started pod can be from other users of Podman on the host machine π (and this option is not available with the remote Podman client, including Mac and Windows machines β excluding WSL2 π« )
--no-resetβ don't clear the terminal/screen in between reporting intervals. keep that scrollback, babe π§--no-streamβ disables streaming pod stats and only pulls the first result. default setting isfalseπ
π EXAMPLES π
List statistics about all pods without streaming:
# podman pod stats -a --no-stream
ID NAME CPU % MEM USAGE / LIMIT MEM % NET IO BLOCK IO PIDS
a9f807ffaacd frosty_hodgkin -- 3.092MB / 16.7GB 0.02% -- / -- -- / -- 2
3b33001239ee sleepy_stallman -- -- / -- -- -- / -- -- / -- --
List statistics about specified pod without streaming:
# podman pod stats --no-stream a9f80
ID NAME CPU % MEM USAGE / LIMIT MEM % NET IO BLOCK IO PIDS
a9f807ffaacd frosty_hodgkin -- 3.092MB / 16.7GB 0.02% -- / -- -- / -- 2
List statistics about specified pod in JSON format without streaming:
# podman pod stats --no-stream --format=json a9f80
[
{
"id": "a9f807ffaacd",
"name": "frosty_hodgkin",
"cpu_percent": "--",
"mem_usage": "3.092MB / 16.7GB",
"mem_percent": "0.02%",
"netio": "-- / --",
"blocki": "-- / --",
"pids": "2"
}
]
List selected statistics formatted in a table about specified pod:
# podman pod stats --no-stream --format "table {{.ID}} {{.Name}} {{.MemUsage}}" 6eae
ID NAME MEM USAGE / LIMIT
6eae9e25a564 clever_bassi 3.031MB / 16.7GB
π SEE ALSO π
π HISTORY π
February 2019, Originally compiled by Dan Walsh dwalsh@redhat.com β¨mailto:dwalsh@redhat.comβ©
and that's the whole page, bestie π it lives under the podman-pod-stats(1) name in the manual, and it's part of the podman docs, compiled way back in February 2019 by Dan Walsh. iconic, honestly. periodt πβ¨π¦
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- fedora 43: podman-docker 5:5.6.2-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman-docker 5:5.8.4-1.fc43
- fedora 43: podman-docker 5:5.8.8-1.fc43
- fedora 43: podman-docker 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.7-1.fc44
- fedora 44: podman-docker 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- ubuntu resolute: podman-docker 5.7.0+ds2-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms