chrt linux
chrt: manipulate the real-time attributes of a process
Synopsis:
- chrt [options] priority command [arg]
- chrt [options] -p [prio] pid
Usage:
- chrt --pid PID 获取pid的scheduling policy & scheduling priority
-
只有SCHED_FIFO & SCHED_RR 的priority可设置
-
-