From 4ce8819b606fa8f2a3a35063143eee63016e5a71 Mon Sep 17 00:00:00 2001 From: Tom Hromatka Date: Thu, 27 Mar 2025 08:20:10 -0600 Subject: [PATCH] doc: Add documentation for cgrules' options 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 Acked-by: Kamalesh Babulal --- doc/man/cgrules.conf.5 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/doc/man/cgrules.conf.5 b/doc/man/cgrules.conf.5 index 434be500..762a5331 100644 --- a/doc/man/cgrules.conf.5 +++ b/doc/man/cgrules.conf.5 @@ -18,10 +18,10 @@ Rules have two formats: .in +4n .nf - + .fi .nf -: +: .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 -- 2.47.3