From: Benno Schulenberg Date: Tue, 5 Aug 2025 09:24:42 +0000 (+0200) Subject: chrt: (man) improve wording and markup of some examples X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3e3d01efc5a67325e03d9b791388216a39330fd;p=thirdparty%2Futil-linux.git chrt: (man) improve wording and markup of some examples CC: Madadi Vineeth Reddy Signed-off-by: Benno Schulenberg --- diff --git a/schedutils/chrt.1.adoc b/schedutils/chrt.1.adoc index c8278463a..7ed676a9a 100644 --- a/schedutils/chrt.1.adoc +++ b/schedutils/chrt.1.adoc @@ -122,17 +122,17 @@ ____ //TRANSLATORS: Keep {colon} untranslated Or set them{colon}:: ____ -*chrt -r --pid* _priority PID_ +*chrt* _policy-option_ *--pid* _priority PID_ ____ -This, for example, sets real-time scheduling to priority _30_ for the process _PID_ with the *SCHED_RR* (round-robin) class{colon}:: +For example, to set the scheduling policy to *SCHED_RR* (round-robin) and the priority to *30* for process *1234*{colon}:: ____ -*chrt -r --pid 30* _PID_ +*chrt -r --pid 30 1234* ____ Reset priorities to default for a process{colon}:: ____ *chrt -o --pid 0* _PID_ ____ -Set a custom slice of 1 ms for a SCHED_OTHER task (priority is optional for policies other than SCHED_FIFO and SCHED_RR){colon}:: +Set a custom slice of 1 ms for a *SCHED_OTHER* task (priority is optional for policies other than *SCHED_FIFO* and *SCHED_RR*){colon}:: ____ *chrt -o -T 1000000 --pid* _PID_ ____