confusion about renice command
Does the renice +number command increase the niceness to "number" unit or set the niceness to that "number" ?
For instance, I can't use the command
renice +5 processif that process have a nice value set to 10, unless I use
sudo. Because this command is going set the nice value to 5 and thus decrease the old value rather than increasing it!
On my machine
renice +5 processand
renice 5 processdo the same. Is that normal ? what's the difference between the two commands ?
Increasing the niceness is supposed to decrease the priority (and vice-versa when decreasing). However, when the niceness is increased we see the priority increased as well in the PRI column of the
pscommand. What does the PRI column show exactly ?