1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 04:02:09 +02:00
tldr/pages/linux/renice.md
Vitor Henrique 55a49c4ba1
pages*: remove "one or more" from description when superfluous (#12121)
* pages*: remove "one or more" from description when superfluous

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-25 10:58:11 +05:30

561 B

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}}