Linux renice command
The Linux renice command is used to reassign the priority (nice value) of one or more processes (the number depends on the arguments).
**Note:** Every process has a unique id.
Permissions required: all users.
Syntax
renice priority [[-p] pid ...] [[-g] pgrp ...] [[-u] user ...]
Parameter Description:
- -p pid Reassign the priority of the process whose id is pid
- -g pgrp Reassign the priority of the process(es) whose process group id is pgrp
- -u user Reassign the priority of the processes owned by user
Example
Increase by 1 the priority numbers of the processes with ids 987 and 32 and the processes owned by daemon and root
renice +1 987 -u daemon root -p 32
Linux Command Reference