]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
man: document cgxset's -b (systemd) option
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Thu, 16 Feb 2023 12:08:54 +0000 (17:38 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 16 Feb 2023 16:37:27 +0000 (09:37 -0700)
Add documentation about the -b option in the cgxset's man page. This
option ignores the default systemd delegated hierarchy path and
constructs the path of the control groups relative to the cgroup root
hierarchy.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit ae92896abd762cbc8cdcd66387931913f0e13eb7)

doc/man/cgxset.1

index 818a50b1023f934fae9e7f27bc432c4859720875..cb384513f0244639ed67204ed0e68bb854a179b6 100644 (file)
@@ -4,9 +4,9 @@
 cgxset \- set the parameters of given cgroup(s)
 
 .SH SYNOPSIS
-\fBcgxset\fR [\fB-1\fR] [\fB-2\fR] [\fB-i\fR] [\fB-r\fR <\fIname=value\fR>] <\fBcgroup_path\fR> ...
+\fBcgxset\fR [\fB-1\fR] [\fB-2\fR] [\fB-i\fR] [\fB-b\fR] [\fB-r\fR <\fIname=value\fR>] <\fBcgroup_path\fR> ...
 .br
-\fBcgxset\fR \fB--copy-from\fR <\fIsource_cgroup_path\fR> <\fBcgroup_path\fR> ...
+\fBcgxset\fR [\fB-b\fR] \fB--copy-from\fR <\fIsource_cgroup_path\fR> <\fBcgroup_path\fR> ...
 
 .SH DESCRIPTION
 Set the parameters of input cgroups.
@@ -36,6 +36,11 @@ data in/out of \fBcgxset\fR is in cgroup v2 format.
 In this mode, the user will provide values in cgroup v2 format and receive values in v2 format.
 If the system is running in cgroup v1 mode, libcgroup will convert the data as necessary
 
+.TP
+.B -b
+ignores the default systemd delegated hierarchy path and constructs the path of the control groups
+relative to the cgroup root hierarchy.
+
 .TP
 .B -i, --ignore-unmappable
 ignore errors for values that cannot be converted from v1 to v2 or vice versa