From b13a5ddaaf5cce10851689c75fe76b4b35187cc7 Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Thu, 11 Mar 2021 07:54:09 -0500 Subject: [PATCH] chrt: add page (#5398) --- pages/linux/chrt.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/chrt.md diff --git a/pages/linux/chrt.md b/pages/linux/chrt.md new file mode 100644 index 000000000..e0f195a79 --- /dev/null +++ b/pages/linux/chrt.md @@ -0,0 +1,20 @@ +# chrt + +> Manipulate the real-time attributes of a process. +> More information: . + +- Display attributes of a process: + +`chrt --pid {{PID}}` + +- Display attributes of all threads of a process: + +`chrt --all-tasks --pid {{PID}}` + +- Display the min/max priority values that can be used with `chrt`: + +`chrt --max` + +- Set the scheduling policy for a process: + +`chrt --pid {{PID}} --{{deadline|idle|batch|rr|fifo|other}}`