]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
chrt: (man) improve wording and markup of some examples
authorBenno Schulenberg <bensberg@telfort.nl>
Tue, 5 Aug 2025 09:24:42 +0000 (11:24 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 7 Aug 2025 09:20:35 +0000 (11:20 +0200)
CC: Madadi Vineeth Reddy <vineethr@linux.ibm.com>
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
schedutils/chrt.1.adoc

index c8278463aa52574d08bec326f217078436b940e3..7ed676a9ab7a2fb2e1038db7d050027ec7572ed8 100644 (file)
@@ -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_
 ____