Ubuntu – What does ‘Nice’ mean on the processes tab

processsystem-monitor

What does the 'Nice' column represent on the processes tab of the system monitor?

Best Answer

'nice' refers to the priority the process gets on your CPU. This is a number in the range of -20 (highest priority) to 19 (lowest). You'll probably find that most applications you're running are at nice '0', which means that they are running with normal priority and none will get preferential treatment by the scheduler over another.

If you're running an intensive program, you may wish to launch it from a terminal with nice -n 10 /path/to/program. That way it will impact less on the performance of your system.

Note that you need root (sudo) privileges to schedule a process with priority greater than normal (<0). This is to prevent users from being able to bog down the entire system easily, and so that critical tasks can always receive the CPU time they require.

There's a good explanation on Wikipedia too.