chrt sets or retrieves the scheduling policy and priority
of a process. It is the modern tool for managing
SCHED_FIFO, SCHED_RR, and normal scheduling.
chrt -p <PID>
sudo chrt -r 10 ./app
sudo chrt -f 20 ./app
sudo chrt -r -p 15 <PID>
sudo chrt -o -p 0 <PID>
chrt --max
chrt -p <PID1> <PID2>
sudo taskset -c 2 chrt -r 10 ./app
ps -eo pid,cls,rtprio,pri,nice,cmd
systemctl show yourservice | grep -i rt