Processes

renice

Changes priority of an already running process.

renice adjusts the niceness of existing processes by PID, user, or process group.

Syntax
renice priority [-p PID] [-u user]

Arguments explained

  • priority is the target niceness.
  • -p selects process IDs.
  • -u selects all processes owned by a user.

Common examples

Lower priority of a PID
renice 10 -p 1234

Makes PID 1234 less CPU-demanding.

Adjust a user's jobs
sudo renice 5 -u builduser

Changes niceness for processes owned by builduser.

renice Command
FieldDetails
Commandrenice
CategoryProcesses
Primary useChanges priority of an already running process.
Syntaxrenice priority [-p PID] [-u user]