Linux : Changing process priority

By | April 1, 2013

Here is a quicky how to change/modify the priority of a process on your system task scheduler. I will first explain how to change the priority of an existing process and then for new processes.

1. Find out the current priority either using “top” or with the specific process ID :

2. Then set the new priority :

 

Now let’s do it for new processes :

You can also set this for specific users editing the “limits.conf” file :

Enter the parameters as following :

<USER> <HARD or SOFT limit> priority <VALUE>

Example :