From: Kamalesh Babulal Date: Thu, 16 Feb 2023 12:08:54 +0000 (+0530) Subject: man: document cgexec's -b (systemd) option X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5087e6705cb95caf0380ed457d710b8e34ea495;p=thirdparty%2Flibcgroup.git man: document cgexec's -b (systemd) option Add documentation about the -b option in the cgexec'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 9be92b8ddb2f63201ae028bee9d44e5a01e93b9a) --- diff --git a/doc/man/cgexec.1 b/doc/man/cgexec.1 index 6df20d00..5539c303 100644 --- a/doc/man/cgexec.1 +++ b/doc/man/cgexec.1 @@ -7,13 +7,19 @@ cgexec \- run the task in given control groups .SH SYNOPSIS -\fBcgexec\fR [\fB-h\fR] [\fB-g\fR <\fIcontrollers>:] [--sticky] \fBcommand\fR [\fIarguments\fR] +\fBcgexec\fR [\fB-h\fR] [\fB-b\fR] [\fB-g\fR <\fIcontrollers>:] [--sticky] \fBcommand\fR [\fIarguments\fR] .SH DESCRIPTION The \fBcgexec\fR program executes the task \fBcommand\fR with arguments \fBarguments\fR in the given control groups. +.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 the control groups in which the task will be run.