mirror of https://github.com/mkerrisk/man-pages
cgroup_namespaces.7: Remove redundant use of 'sh -c' in shell session
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
38a6fda1e6
commit
e39f614f9f
|
@ -76,7 +76,7 @@ hierarchy, and put the shell into that cgroup:
|
|||
# \fBmkdir \-p /sys/fs/cgroup/freezer/sub\fP
|
||||
# \fBecho $$\fP # Show PID of this shell
|
||||
30655
|
||||
# \fBsh \-c \(aqecho 30655 > /sys/fs/cgroup/freezer/sub/cgroup.procs\(aq\fP
|
||||
# \fBecho 30655 > /sys/fs/cgroup/freezer/sub/cgroup.procs\fP
|
||||
# \fBcat /proc/self/cgroup | grep freezer\fP
|
||||
7:freezer:/sub
|
||||
.EE
|
||||
|
|
Loading…
Reference in New Issue