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