Hamm Asked: 2016-05-31 13:37:30 +0800 CST2016-05-31 13:37:30 +0800 CST 2016-05-31 13:37:30 +0800 CST How to change the priority of the process using command line [duplicate] 772 I got the following problem when I used this command : renice -19 1744 command-line 1 Answers Voted Best Answer John1024 2016-05-31T13:53:26+08:002016-05-31T13:53:26+08:00 It does not require root permissions to lower the priority of any process that you own: $ sleep 100 & [1] 6965 $ renice 19 6965 6965 (process ID) old priority 0, new priority 19 Raising the priority does require root permission: $ renice -19 6965 renice: failed to set priority for 6965 (process ID): Permission denied $ sudo renice -19 6965 6965 (process ID) old priority 0, new priority -19 In sum, raising the priority requires root privilege: use sudo.
It does not require root permissions to lower the priority of any process that you own:
Raising the priority does require root permission:
In sum, raising the priority requires root privilege: use
sudo
.