From 2d655862e6d877877237aa2aa03fded2c127c28e Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Thu, 16 Feb 2023 17:38:54 +0530 Subject: [PATCH] man: document cgxget's -b (systemd) option 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 Signed-off-by: Tom Hromatka (cherry picked from commit d4e4bff5b612939267779f0a14f6b2a261bb0744) --- doc/man/cgxget.1 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/man/cgxget.1 b/doc/man/cgxget.1 index df502131..b06adaef 100644 --- a/doc/man/cgxget.1 +++ b/doc/man/cgxget.1 @@ -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 defines controllers whose values should be displayed. -- 2.47.2