mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 09:54:45 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user