Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-29 00:18:23 +00:00
parent a3692d638b
commit 75f807d6af
175 changed files with 1107 additions and 775 deletions

View File

@@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git
- Display attributes of a process:
`chrt --pid {{PID}}`
`chrt {{[-p|--pid]}} {{PID}}`
- Display attributes of all threads of a process:
`chrt --all-tasks --pid {{PID}}`
`chrt {{[-a|--all-tasks]}} {{[-p|--pid]}} {{PID}}`
- Display the min/max priority values that can be used with `chrt`:
`chrt --max`
`chrt {{[-m|--max]}}`
- Set the scheduling priority of a process:
`chrt --pid {{priority}} {{PID}}`
`chrt {{[-p|--pid]}} {{priority}} {{PID}}`
- Set the scheduling policy of a process:
`chrt --{{deadline|idle|batch|rr|fifo|other}} --pid {{priority}} {{PID}}`
`chrt --{{deadline|idle|batch|rr|fifo|other}} {{[-p|--pid]}} {{priority}} {{PID}}`