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,14 +10,18 @@ source: https://github.com/tldr-pages/tldr.git
> See also: `nice`.
> More information: <https://manned.org/renice>.
- Set the absolute priority of a running [p]rocess:
- Set the absolute priority of a running process:
`renice {{+3}} -p {{pid}}`
`renice --priority {{3}} {{[-p|--pid]}} {{pid}}`
- Increase/decrease the priority of all processes owned by a [u]ser:
- Increase the priority of a running process:
`renice --relative {{-4}} -u {{uid|user}}`
`sudo renice --relative {{-4}} {{[-p|--pid]}} {{pid}}`
- Set the priority of all processes that belong to a process [g]roup:
- Decrease the priority of all processes owned by a user:
`renice --absolute {{5}} -g {{process_group}}`
`renice --relative {{4}} {{[-u|--user]}} {{uid|user}}`
- Set the priority of all processes that belong to a process group:
`sudo renice {{-5}} {{[-g|--pgrp]}} {{process_group}}`