HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

renice — Alter the scheduling priority/niceness of running processes. Niceness values range from -20 (most fa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandrenicenicenessschedulingpriorityclialter

Problem

How to use the renice command: 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.1p>.

Solution

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.1p>.

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

Code Snippets

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

Context

tldr-pages: common/renice

Revisions (0)

No revisions yet.