Results 1 to 5 of 5
I was reading the man page for the top utility, and in the columns there is a column for priority, and a column right next to it for the niceness ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-02-2010 #1Just Joined!
- Join Date
- Nov 2010
- Posts
- 2
What's the difference between niceness and priority?
I was reading the man page for the top utility, and in the columns there is a column for priority, and a column right next to it for the niceness value. Being somewhat confused by the term niceness, I researched it and found out that the a niceness value of -20 gives a process top priority when consuming CPU cycles... but isn't that what the priority is? What's the difference?
Thanks
Jonathan
- 11-03-2010 #2Linux Newbie
- Join Date
- Mar 2009
- Posts
- 228
Google is your friend. I googled 'linux nice priority' and the 1st link it came up with is this:
Linux.com :: Influence scheduling priority with nice and renice
- 11-03-2010 #3Just Joined!
- Join Date
- Nov 2010
- Posts
- 2
Hi,
I saw the stuff that explained how to use nice to start a process with a different priority and renice to change the priority of a running process, but what I really want to know is when I run the top command, there is a column (NI) that shows nice values, and a column (PR) that shows the priority values of the process. Because the nice value seems to be the priority level, when I see a process with a nice value of 5 and a priority value of 25, what does it mean and what is the difference between the two values that appear in the columns displayed using the top command?
- 01-22-2013 #4Just Joined!
- Join Date
- Apr 2009
- Posts
- 1
- 01-22-2013 #5
Hi, kasi86.
Seeing as this thread is over 2 years old, I'm locking this one down.
It might be more beneficial for you to start a new thread concerning your doubts.Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.




