How to change priority of a process with renice
In Category Command Line
Unlike “nice” command, the “renice” command expects PID of a process and can be used to alter priority of an already running process. It can take multiple PIDs at a time to alter scheduling priority. However to increase priority of a process, one should have root privileges while reducing the priority can be done by any user. This all applies for the processes owned by self. The following example reduces scheduling priority (sets 10 as priority) of a background process with PID 987.
[neo@techpulp ~]# renice +10 -p 987
To alter scheduling priority of all processes owned by a specific user, the “-u” option should be used with user name as shown below.
[neo@techpulp ~]# renice +10 -u neo