mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
man: remove libsystemd reference to legacy hierarchy
This commit is contained in:
parent
0b11ad3836
commit
d6e49befb0
@ -263,16 +263,10 @@
|
||||
returns the user slice (as managed by the user's systemd instance)
|
||||
of a process.</para>
|
||||
|
||||
<para><function>sd_pid_get_cgroup()</function> returns the control
|
||||
group path of the specified process, relative to the root of the
|
||||
hierarchy. Returns the path without trailing slash, except for
|
||||
processes located in the root control group, where "/" is
|
||||
returned. To find the actual control group path in the file system,
|
||||
the returned path needs to be prefixed with
|
||||
<filename>/sys/fs/cgroup/</filename> (if the unified control group
|
||||
setup is used), or
|
||||
<filename>/sys/fs/cgroup/<replaceable>HIERARCHY</replaceable>/</filename>
|
||||
(if the legacy multi-hierarchy control group setup is used).</para>
|
||||
<para><function>sd_pid_get_cgroup()</function> returns the control group path of the specified process,
|
||||
relative to the root of the hierarchy. Returns the path without trailing slash, except for processes
|
||||
located in the root control group, where "/" is returned. To find the actual control group path
|
||||
in the file system, the returned path needs to be prefixed with <filename>/sys/fs/cgroup/</filename>.</para>
|
||||
|
||||
<para>If the <varname>pid</varname> parameter of any of these
|
||||
functions is passed as 0, the operation is executed for the
|
||||
|
Loading…
x
Reference in New Issue
Block a user