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
-
chrt --max show min and max valid priorities
只有SCHED_FIFO & SCHED_RR 的priority可设置
-
chrt [scheduling options] priority command [arguments] 可以指定scheduling options 和 priority 运行命令
-
chrt <scheduling options> --pid <priority> PID 必须以此格式同时设定scheduling options & priority

浙公网安备 33010602011771号