aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-04-28 20:17:50 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-05-09 23:08:54 +0200
commit92bb6d3640e6183a010f0bc9722cfbc165663a57 (patch)
treed54112281266a00f13377b2314284cd0c1f44d75 /man7
parentfc5a79d8863a933866e38c58cb1b8ee42a70a875 (diff)
downloadman-pages-92bb6d3640e6183a010f0bc9722cfbc165663a57.tar.gz
cgroups.7: Note other reasons why the hierarchy ID in /proc/cgroups may be 0
Reported-by: Serge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7')
-rw-r--r--man7/cgroups.714
1 files changed, 11 insertions, 3 deletions
diff --git a/man7/cgroups.7 b/man7/cgroups.7
index f7ebed5e5f..7283b9ce22 100644
--- a/man7/cgroups.7
+++ b/man7/cgroups.7
@@ -454,7 +454,7 @@ Further information can be found in the kernel source file
.SS /proc files
.TP
.IR /proc/cgroups " (since Linux 2.6.24)"
-This file contains information about the cgroups version 1 controllers
+This file contains information about the controllers
that are available on the system.
An example of the contents of this file (reformatted for readability)
is the following:
@@ -482,10 +482,18 @@ The fields in this file are, from left to right:
.IP 1. 3
The name of the controller.
.IP 2.
-A unique ID for the cgroup hierarchy on which this controller is mounted.
-If the controller is not currently mounted, the value in this field is 0.
+The unique ID of the cgroup hierarchy on which this controller is mounted.
If multiple controllers are bound to the same hierarchy,
then each will show the same hierarchy ID in this field.
+The value in this field will be 0 if:
+.RS 5
+.IP a) 3
+the controller is not mounted on a cgroups v1 hierarchy;
+.IP b)
+the controller is bound to the cgroups v2 single unified hierarchy; or
+.IP c)
+the controller is disabled (see below).
+.RE
.IP 3.
The number of control groups in this hierarchy using this controller.
.IP 4.