Manipulate the real-time attributes of a process. - chrt

Manipulate the real-time attributes of a process. More information: chrt(1) - Linux manual page.

  • 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}}