commands.sh

chrt

linux

Manipulate the real-time attributes of a process.

More info →

Options (3)

-p, --pidboolean

Display attributes of a process

Example: chrt {{[-p|--pid]}} {{PID}}
-a, --all-tasksboolean

Display attributes of all threads of a process

Example: chrt {{[-a|--all-tasks]}} {{[-p|--pid]}} {{PID}}
-m, --maxboolean

Display the min/max priority values that can be used with `chrt`

Example: chrt {{[-m|--max]}}

Examples (5)

Display attributes of a process

chrt [-p|--pid] PID

Display attributes of all threads of a process

chrt [-a|--all-tasks] [-p|--pid] PID

Display the min/max priority values that can be used with `chrt`

chrt [-m|--max]

Set the scheduling priority of a process

chrt [-p|--pid] priority PID

Set the scheduling policy of a process

chrt --deadline|idle|batch|rr|fifo|other [-p|--pid] priority PID
made by @shridhargupta | data from tldr-pages