1
0
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:
Mike Yuan 2025-03-05 19:10:02 +01:00
parent 0b11ad3836
commit d6e49befb0
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3

View File

@ -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