summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-08-20 16:57:55 +0200
committerGitHub <noreply@github.com>2019-08-20 16:57:55 +0200
commit230faa864f8922f16a0d70c4a3454d51768e9a15 (patch)
tree4e6f9e0d5436e0bc8f484b7a33e48dc3a8d67216 /docs
parent34fc1d09d245cbd0d922562860f639667c8641d6 (diff)
parent539b7b6058a1b034e7b982dec3a822e024a24d54 (diff)
downloadpodman-230faa864f8922f16a0d70c4a3454d51768e9a15.tar.gz
podman-230faa864f8922f16a0d70c4a3454d51768e9a15.tar.bz2
podman-230faa864f8922f16a0d70c4a3454d51768e9a15.zip
Merge pull request #3569 from rhatdan/cgroupsv1
Fix error message on podman stats on cgroups v1 rootless environments
Diffstat (limited to 'docs')
-rw-r--r--docs/podman-stats.1.md20
1 files changed, 12 insertions, 8 deletions
diff --git a/docs/podman-stats.1.md b/docs/podman-stats.1.md
index c1a87f210..2f604644f 100644
--- a/docs/podman-stats.1.md
+++ b/docs/podman-stats.1.md
@@ -9,6 +9,10 @@ podman\-stats - Display a live stream of 1 or more containers' resource usage st
## DESCRIPTION
Display a live stream of one or more containers' resource usage statistics
+Note: Podman stats will not work in rootless environments that use CGroups V1.
+Podman stats relies on CGroup information for statistics, and CGroup v1 is not
+supported for rootless use cases.
+
## OPTIONS
**--all**, **-a**
@@ -69,14 +73,14 @@ a9f807ffaacd frosty_hodgkin -- 3.092MB / 16.7GB 0.02% -- / -- --
# podman 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"
+ "id": "a9f807ffaacd",
+ "name": "frosty_hodgkin",
+ "cpu_percent": "--",
+ "mem_usage": "3.092MB / 16.7GB",
+ "mem_percent": "0.02%",
+ "netio": "-- / --",
+ "blocki": "-- / --",
+ "pids": "2"
}
]
```