mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-11-03 06:23:44 +08:00
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
613 B
613 B
chrt
Manipulate the real-time attributes of a process. More information: https://manned.org/chrt.
- Display attributes of a process:
chrt {{[-p|--pid]}} {{process_id}}
- Display attributes of all threads of a process:
chrt {{[-a|--all-tasks]}} {{[-p|--pid]}} {{process_id}}
- Display the min/max priority values that can be used with
chrt:
chrt {{[-m|--max]}}
- Set the scheduling priority of a process:
chrt {{[-p|--pid]}} {{priority}} {{process_id}}
- Set the scheduling policy of a process:
chrt --{{deadline|idle|batch|rr|fifo|other}} {{[-p|--pid]}} {{priority}} {{process_id}}