]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
man: document cgexec'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 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 <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 9be92b8ddb2f63201ae028bee9d44e5a01e93b9a)

doc/man/cgexec.1

index 6df20d001f71e870557b13d4eb0853b5bf7abfbd..5539c303d12db50d288e7ae8b00c4cb5b2a335d2 100644 (file)
@@ -7,13 +7,19 @@
 cgexec \- run the task in given control groups
 
 .SH SYNOPSIS
-\fBcgexec\fR [\fB-h\fR] [\fB-g\fR <\fIcontrollers>:<path\fR>] [--sticky] \fBcommand\fR [\fIarguments\fR]
+\fBcgexec\fR [\fB-h\fR] [\fB-b\fR] [\fB-g\fR <\fIcontrollers>:<path\fR>] [--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 <controllers>:<path>
 defines the control groups in which the task will be run.