Skip to content

Commit

Permalink
man: cgset: document -R option
Browse files Browse the repository at this point in the history
Document -R option. It recursively sets variable settings passed with -r
option to cgroup_path and its descendant cgroups.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
  • Loading branch information
kamalesh-babulal authored and drakenclimber committed Nov 1, 2023
1 parent ea9fb11 commit 5d07f1a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/man/cgset.1
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
cgset \- set the parameters of given cgroup(s)

.SH SYNOPSIS
\fBcgset\fR [\fB-b\fR] [\fB-r\fR <\fIname=value\fR>] <\fBcgroup_path\fR> ...
\fBcgset\fR [\fB-b\fR] [\fB-R\fR] [\fB-r\fR <\fIname=value\fR>] <\fBcgroup_path\fR> ...
.br
\fBcgset\fR [\fB-b\fR] \fB--copy-from\fR <\fIsource_cgroup_path\fR> <\fBcgroup_path\fR> ...
\fBcgset\fR [\fB-b\fR] [\fB-R\fR] \fB--copy-from\fR <\fIsource_cgroup_path\fR> <\fBcgroup_path\fR> ...

.SH DESCRIPTION
Set the parameters of input cgroups.
Expand All @@ -31,6 +31,11 @@ defines the name of the file to set and
the value which should be written to that file.
This parameter can be used multiple times.

.TP
.B -R
recursively sets variable settings passed with -r option
to cgroup_path and its descendant cgroups.

.TP
.B --copy-from <source_cgroup_path>
defines the name of the cgroup whose parameters will be
Expand Down

0 comments on commit 5d07f1a

Please sign in to comment.