mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 11:06:00 +02:00
chrt: add page (#5398)
This commit is contained in:
parent
2c0be24347
commit
b13a5ddaaf
1 changed files with 20 additions and 0 deletions
20
pages/linux/chrt.md
Normal file
20
pages/linux/chrt.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# chrt
|
||||
|
||||
> Manipulate the real-time attributes of a process.
|
||||
> More information: <https://man7.org/linux/man-pages/man1/chrt.1.html>.
|
||||
|
||||
- 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 policy for a process:
|
||||
|
||||
`chrt --pid {{PID}} --{{deadline|idle|batch|rr|fifo|other}}`
|
Loading…
Add table
Reference in a new issue