renice
TLDR
Set the absolute priority of a running process
SYNOPSIS
renice [-n] priority [-g|-p|-u] identifier...
DESCRIPTION
renice alters the scheduling priority (niceness) of running processes. Niceness values range from -20 (highest priority, most favorable to the process) to 19 (lowest priority, least favorable).
Regular users can only increase niceness (lower priority) of their own processes. The superuser can decrease niceness (raise priority) and modify any process.
PARAMETERS
-n, --priority _priority_
Specify the scheduling priority to set--relative
Change priority relative to current value-p, --pid
Interpret arguments as process IDs (default)-u, --user
Interpret arguments as usernames or UIDs-g, --pgrp
Interpret arguments as process group IDs
CAVEATS
Lowering niceness (increasing priority) requires root privileges. The actual scheduling effect depends on the system's scheduler and load. Setting extreme priorities can impact system responsiveness.
HISTORY
The renice command originated in 4.0BSD and has been a standard Unix utility since. It complements the nice command, which sets priority when launching new processes.


