<div dir="ltr"><div><div><div><div><div><div>Hi All,<br></div> i was trying to understand the the meaning of the PR field in the "top" command.<br><br></div>PR field is the kernel notion of importance of a task.<br></div>It is loosely coupled with the "nice" value, which is a user-space concept.<br></div>Roughly they are related with..<br><br></div>PR=20+nice (-20<= nice <=19)<br>which means, PR can never go below 0.<br><br></div><div>As
an experiment to understand this even more, i created an user-app with
real-time scheduling policy (SCHED_FIFO) and ran this application.<br><br></div><div>while the application was running i triggerred "top" and what i see that the PR value for my application displays a -ve value.<br>what does this mean.<br></div>If at all this is correct, what are the valid range of PR which i should expect?<div class=""><div id=":26i" class="" tabindex="0"><img class="" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div></div>