diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2017-12-23 09:09:26 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2017-12-23 09:09:26 +0100 |
| commit | 4769a77817d01228cd56579d95759d138f5b40aa (patch) | |
| tree | 8af5ab00daa99b1f2ee8e580ac90035e45aa7de3 | |
| parent | 44c429ed451c138fb170e85cd63aa4e89e9d7ed6 (diff) | |
| download | man-pages-4769a77817d01228cd56579d95759d138f5b40aa.tar.gz | |
cgroups.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man7/cgroups.7 | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/man7/cgroups.7 b/man7/cgroups.7 index 4402926b16..a958eaab05 100644 --- a/man7/cgroups.7 +++ b/man7/cgroups.7 @@ -367,7 +367,11 @@ A cgroup filesystem initially contains a single root cgroup, '/', which all processes belong to. A new cgroup is created by creating a directory in the cgroup filesystem: .PP - mkdir /sys/fs/cgroup/cpu/cg1 +.in +4n +.EX +mkdir /sys/fs/cgroup/cpu/cg1 +.EE +.in .PP This creates a new empty cgroup. .PP @@ -375,7 +379,11 @@ A process may be moved to this cgroup by writing its PID into the cgroup's .I cgroup.procs file: .PP - echo $$ > /sys/fs/cgroup/cpu/cg1/cgroup.procs +.in +4n +.EX +echo $$ > /sys/fs/cgroup/cpu/cg1/cgroup.procs +.EE +.in .PP Only one PID at a time should be written to this file. .PP @@ -514,7 +522,11 @@ The available controllers are automatically mounted, meaning that it is not necessary (or possible) to specify the controllers when mounting the cgroup v2 filesystem using a command such as the following: .PP - mount -t cgroup2 none /mnt/cgroup2 +.in +4n +.EX +mount -t cgroup2 none /mnt/cgroup2 +.EE +.in .PP A cgroup v2 controller is available only if it is not currently in use via a mount against a cgroup v1 hierarchy. @@ -715,7 +727,11 @@ For each cgroup hierarchy of which the process is a member, there is one entry containing three colon-separated fields of the form: .IP - hierarchy-ID:controller-list:cgroup-path +.in +4n +.EX +hierarchy-ID:controller-list:cgroup-path +.EE +.in .IP For example: .IP |
