]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
doc: Add documentation for cgrules' options
authorTom Hromatka <tom.hromatka@oracle.com>
Thu, 27 Mar 2025 14:20:10 +0000 (08:20 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 28 Mar 2025 13:53:08 +0000 (07:53 -0600)
Add man page documentation for the options field in cgrules
configuration files.  Currently only "ignore" and "ignore_rt" are
supported.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Acked-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
doc/man/cgrules.conf.5

index 434be500bf516e8023a7b25f8ed33260ae690f30..762a5331df1d5dbd849f4b62c3f02cf5065615e8 100644 (file)
@@ -18,10 +18,10 @@ Rules have two formats:
 
 .in +4n
 .nf
-<user>                 <controllers>           <destination>
+<user>                 <controllers>   <destination>   <options>
 .fi
 .nf
-<user>:<process name>  <controllers>           <destination>
+<user>:<process name>  <controllers>   <destination>   <options>
 .fi
 .in
 
@@ -70,6 +70,18 @@ can be:
     - quotation marks '"' can be used for names and/or paths with spaces
 .fi
 
+.I options
+is optional and it can be:
+.nf
+    - "ignore" - if a process matches a rule with the "ignore" option, then
+      it will be ignored by cgrulesengd and will not be moved.  cgrulesengd
+      processing will stop for this process, and all rules below this rule
+      will not affect this process.
+    - "ignore_rt" - if a process is scheduled as SCHED_RR or SCHED_FF and
+      matches this rule, it will be ignored by cgrulesengd and will not be
+      moved.
+.fi
+
 First rule which matches the criteria will be executed.
 
 Any text starting with '#' is considered as a start of comment line and is