OS Manuals

/usr/bin/chrt

Misc binaries for util-linux

From util-linux-misc 2.42.4-r2 (os), captured 2026-11-05 by running chrt --help (exit 0). permalink

Show or change the real-time scheduling attributes of a process.

Set policy:
 chrt [options] [<priority>] <command> [<argument>...]
 chrt --pid <policy-option> [options] [<priority>] <PID>

Get policy:
 chrt --pid <PID>

Policy options:
 -b, --batch          set policy to SCHED_BATCH
 -d, --deadline       set policy to SCHED_DEADLINE
 -e, --ext            set policy to SCHED_EXT
 -f, --fifo           set policy to SCHED_FIFO
 -i, --idle           set policy to SCHED_IDLE
 -o, --other          set policy to SCHED_OTHER
 -r, --rr             set policy to SCHED_RR (default)

Scheduling options:
 -R, --reset-on-fork       set reset-on-fork flag
 -T, --sched-runtime <ns>  runtime parameter for DEADLINE
 -P, --sched-period <ns>   period parameter for DEADLINE
 -D, --sched-deadline <ns> deadline parameter for DEADLINE

Other options:
 -a, --all-tasks      operate on all the tasks (threads) for a given pid
 -m, --max            show min and max valid priorities
 -p, --pid            operate on existing given pid
 -v, --verbose        display status information

 -h, --help           display this help
 -V, --version        display version

For more details see chrt(1).
Options (17)
OptionDescriptionSource
-b, --batchSet scheduling policy to SCHED_BATCH (scheduling batch processes).help + man
-d, --deadlineSet scheduling policy to SCHED_DEADLINE (sporadic task model deadline scheduling).help + man
-e, --extSet scheduling policy to SCHED_EXT (BPF program-defined scheduling).help + man
-f, --fifoSet scheduling policy to SCHED_FIFO (first in-first out).help + man
-i, --idleSet scheduling policy to SCHED_IDLE (scheduling very low priority jobs).help + man
-o, --otherSet scheduling policy to SCHED_OTHER (time-sharing scheduling).help + man
-r, --rrSet scheduling policy to SCHED_RR (round-robin scheduling).help + man
-R, --reset-on-forkUse SCHED_RESET_ON_FORK or SCHED_FLAG_RESET_ON_FORK flag.help + man
-T, --sched-runtime nsSpecifies runtime parameter for SCHED_DEADLINE and custom slice length for SCHED_OTHER and SCHED_BATCH policies (Linux-specific).help + man
-P, --sched-period nsSpecifies period parameter for SCHED_DEADLINE policy (Linux-specific).help + man
-a, --all-tasksSet or retrieve the scheduling attributes of all the tasks (threads) for a given PID.help + man
-m, --maxShow minimum and maximum valid priorities, then exit.help + man
-p, --pidOperate on an existing PID and do not launch a new task.help + man
-v, --verbosedisplay status informationhelp + man
-h, --helpDisplay help text and exit.help + man
-V, --versionDisplay version and exit.help + man
-D, --sched-deadline nanosecondsSpecifies deadline parameter for SCHED_DEADLINE policy (Linux-specific). (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.