1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 04:17:58 +01:00
tldr/pages/common/renice.md
2018-10-31 09:11:08 +05:30

497 B

renice

Alters the scheduling priority/nicenesses of one or more running processes. Niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process).

  • Change priority of a running process:

renice -n {{niceness_value}} -p {{pid}}

  • Change priority of all processes owned by a user:

renice -n {{niceness_value}} -u {{user}}

  • Change priority of all processes that belong to a process group:

renice -n {{niceness_value}} --pgrp {{process_group}}