mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 22:51:25 +00:00
Update cheatsheets
This commit is contained in:
23
linux/renice
Normal file
23
linux/renice
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
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>.
|
||||
|
||||
- Set the absolute priority of a running [p]rocess:
|
||||
|
||||
`renice {{+3}} -p {{pid}}`
|
||||
|
||||
- Increase/decrease the priority of all processes owned by a [u]ser:
|
||||
|
||||
`renice --relative {{-4}} -u {{uid|user}}`
|
||||
|
||||
- Set the priority of all processes that belong to a process [g]roup:
|
||||
|
||||
`renice --absolute {{5}} -g {{process_group}}`
|
||||
Reference in New Issue
Block a user