Friday, December 6, 2019

linux kernel scheduling class



ps -deo pid,cls,cmd | grep -e RR -e FF


       cls       CLS    scheduling class of the process. (alias policy, class).
                        Field's possible values are:
                        -   not reported
                        TS  SCHED_OTHER
                        FF  SCHED_FIFO
                        RR  SCHED_RR
                        B   SCHED_BATCH
                        ISO SCHED_ISO
                        IDL SCHED_IDLE
                        ?   unknown value

root@:/proc/sys/kernel# cat sched_rt_period_us
1000000
root@:/proc/sys/kernel# cat sched_rt_runtime_us
950000