mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 08:42:07 +02:00
24 lines
531 B
Markdown
24 lines
531 B
Markdown
# chrt
|
|
|
|
> Manipulate the real-time attributes of a process.
|
|
> More information: <https://manned.org/chrt>.
|
|
|
|
- Display attributes of a process:
|
|
|
|
`chrt --pid {{PID}}`
|
|
|
|
- Display attributes of all threads of a process:
|
|
|
|
`chrt --all-tasks --pid {{PID}}`
|
|
|
|
- Display the min/max priority values that can be used with `chrt`:
|
|
|
|
`chrt --max`
|
|
|
|
- Set the scheduling priority of a process:
|
|
|
|
`chrt --pid {{priority}} {{PID}}`
|
|
|
|
- Set the scheduling policy of a process:
|
|
|
|
`chrt --{{deadline|idle|batch|rr|fifo|other}} --pid {{priority}} {{PID}}`
|