What does the 'Nice' column represent on the processes tab of the system monitor?
Ubuntu – What does ‘Nice’ mean on the processes tab
processsystem-monitor
Related Question
- Ubuntu – Why % CPU doesn’t add up to 100
- Ubuntu – Too many Python processes running
- Ubuntu – the “Waiting Channel” of a process
- Ubuntu – What are zombie processes
- Ubuntu – the difference between using System Monitor and Terminal to kill a process
- Ubuntu – In System monitor, what is the difference between Kill Process and End Process
- Ubuntu – What does the “nice” value mean in CPU utilization statistics
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.