Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

23
renice Normal file
View File

@@ -0,0 +1,23 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# renice
> Alter the scheduling priority/niceness of running processes.
> Niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process).
> See also: `nice`.
> More information: <https://manned.org/renice>.
- Increase/decrease the priority of a running [p]rocess:
`renice -n {{3}} -p {{pid}}`
- Increase/decrease the priority of all processes owned by a [u]ser:
`renice -n {{-4}} -u {{uid|user}}`
- Increase/decrease the priority of all processes that belong to a process [g]roup:
`renice -n {{5}} -g {{process_group}}`