Show scheduling information about the process whose ID is “123”:
Set the affinity to CPU 0 and CPU 1, policy to
SCHED_RR, and priority to 63 for thread whose ID is “1” in process whose ID is “123”:
# schedctl -p 123 -t 1 -A 0,1 -C SCHED_RR -P 63
Run the
top(1) command with real-time priority:
# schedctl -C SCHED_FIFO top