]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
man: document cgxget'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 cgxget'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 d4e4bff5b612939267779f0a14f6b2a261bb0744)

doc/man/cgxget.1

index df502131a463ed1931c5a1fdf7d273fddc849af6..b06adaef34e47d9e2e3988ed54a37c9e238e7723 100644 (file)
@@ -4,10 +4,10 @@
 cgxget \- print parameter(s) of given group(s)
 
 .SH SYNOPSIS
-\fBcgxget\fR [\fB-1\fR] [\fB-2\fR] [\fB-i\fR] [\fB-n\fR] [\fB-v\fR] [\fB-r\fR <\fIname\fR>]
+\fBcgxget\fR [\fB-1\fR] [\fB-2\fR] [\fB-i\fR] [\fB-n\fR] [\fB-v\fR] [\fB-b\fR] [\fB-r\fR <\fIname\fR>]
 [\fB-g\fR <\fIcontroller\fR>] [\fB-a\fR] <\fBpath\fR> ...
 .br
-\fBcgxget\fR [\fB-1\fR] [\fB-2\fR] [\fB-i\fR] [\fB-n\fR] [\fB-v\fR] [\fB-r\fR <\fIname\fR>]
+\fBcgxget\fR [\fB-1\fR] [\fB-2\fR] [\fB-i\fR] [\fB-n\fR] [\fB-v\fR] [\fB-b\fR] [\fB-r\fR <\fIname\fR>]
 \fB-g\fR <\fIcontroller\fR>:<\fBpath\fR> ...
 
 .SH DESCRIPTION
@@ -43,6 +43,11 @@ If the system is running in cgroup v1 mode, libcgroup will convert the data as n
 .B -a, --all
 print the variables for all controllers which consist in the  given cgroup
 
+.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 -g <controller>
 defines controllers whose values should be displayed.