Ubuntu – How do priorities work on ubuntu’s 12.04 system monitor


I noticed in my system monitor app, on the "Processes" tab, that one can change the 'priority' of a certain program. What specifically would this do? (I'm new)

Best Answer

An app running with higher priority gets more access to cpu time as compared to an app running with low priority. This is primarily used to keep an app (like the Arista transcoder) from eating all of the cpu time and slowing the system to a crawl, OR, for allowing one app to suck up as much CPU as it can regardless of the consequences.

It is not possible by default to raise the priority of running apps. This includes after you have lowered the priority. However if you wish to do so you simply need to add the following to /etc/security/limits.conf :

USER             -       nice            -20

Replacing USER with your username and then rebooting the machine.