mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 15:48:15 +00:00
Update cheatsheets
This commit is contained in:
25
linux/chrt
Normal file
25
linux/chrt
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user