mirror of https://github.com/mkerrisk/man-pages
proc.5, cgroups.7: Move /proc/PID/cgroup discussion to cgroups(7) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
325b7eb06d
commit
5c2181ad88
26
man5/proc.5
26
man5/proc.5
|
@ -286,30 +286,8 @@ See also
|
||||||
.BR getauxval (3).
|
.BR getauxval (3).
|
||||||
.TP
|
.TP
|
||||||
.IR /proc/[pid]/cgroup " (since Linux 2.6.24)"
|
.IR /proc/[pid]/cgroup " (since Linux 2.6.24)"
|
||||||
.\" Info in Documentation/cgroups/cgroups.txt
|
See
|
||||||
This file describes control groups to which the process/task belongs.
|
.BR cgroups (7).
|
||||||
For each cgroup hierarchy there is one entry containing
|
|
||||||
colon-separated fields of the form:
|
|
||||||
.nf
|
|
||||||
.ft CW
|
|
||||||
|
|
||||||
5:cpuacct,cpu,cpuset:/daemons
|
|
||||||
.ft
|
|
||||||
.fi
|
|
||||||
.IP
|
|
||||||
The colon-separated fields are, from left to right:
|
|
||||||
.RS 11
|
|
||||||
.IP 1. 3
|
|
||||||
hierarchy ID number
|
|
||||||
.IP 2.
|
|
||||||
set of subsystems bound to the hierarchy
|
|
||||||
.IP 3.
|
|
||||||
control group in the hierarchy to which the process belongs
|
|
||||||
.RE
|
|
||||||
.IP
|
|
||||||
This file is present only if the
|
|
||||||
.B CONFIG_CGROUPS
|
|
||||||
kernel configuration option is enabled.
|
|
||||||
.TP
|
.TP
|
||||||
.IR /proc/[pid]/clear_refs " (since Linux 2.6.22)"
|
.IR /proc/[pid]/clear_refs " (since Linux 2.6.22)"
|
||||||
.\" commit b813e931b4c8235bb42e301096ea97dbdee3e8fe (2.6.22)
|
.\" commit b813e931b4c8235bb42e301096ea97dbdee3e8fe (2.6.22)
|
||||||
|
|
|
@ -451,6 +451,32 @@ in a cgroup (and its descendants).
|
||||||
|
|
||||||
Further information can be found in the kernel source file
|
Further information can be found in the kernel source file
|
||||||
.IR Documentation/cgroup-v1/pids.txt .
|
.IR Documentation/cgroup-v1/pids.txt .
|
||||||
|
.SS /proc files
|
||||||
|
.TP
|
||||||
|
.IR /proc/[pid]/cgroup " (since Linux 2.6.24)"
|
||||||
|
This file describes control groups to which the process/task belongs.
|
||||||
|
For each cgroup hierarchy there is one entry containing
|
||||||
|
colon-separated fields of the form:
|
||||||
|
.nf
|
||||||
|
.ft CW
|
||||||
|
|
||||||
|
5:cpuacct,cpu,cpuset:/daemons
|
||||||
|
.ft
|
||||||
|
.fi
|
||||||
|
.IP
|
||||||
|
The colon-separated fields are, from left to right:
|
||||||
|
.RS 11
|
||||||
|
.IP 1. 3
|
||||||
|
hierarchy ID number
|
||||||
|
.IP 2.
|
||||||
|
set of subsystems bound to the hierarchy
|
||||||
|
.IP 3.
|
||||||
|
control group in the hierarchy to which the process belongs
|
||||||
|
.RE
|
||||||
|
.IP
|
||||||
|
This file is present only if the
|
||||||
|
.B CONFIG_CGROUPS
|
||||||
|
kernel configuration option is enabled.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR prlimit (1),
|
.BR prlimit (1),
|
||||||
.BR clone (2),
|
.BR clone (2),
|
||||||
|
|
Loading…
Reference in New Issue