LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   proces state '<' and 'N' (https://www.linuxquestions.org/questions/linux-general-1/proces-state-and-n-4175664410/)

soldier89757 11-17-2019 12:52 AM

proces state '<' and 'N'
 
As I know, in the result of ps, '<' means the process is a high-priority prcess and 'N' means the process is a low-priority process. However,I wonder how to distinguish high priority from low priority. Is there a absolute standard?

berndbausch 11-17-2019 01:26 AM

From the man page:
Quote:

< high-priority (not nice to other users)
N low-priority (nice to other users)
which I interpret as
Quote:

< process has a nice value less than 20
N process has a nice value greater than 20
The nice value is a parameter of the kernel's scheduling algorithm used to calculate processes' priorities. By default, a process has a nice value of 20.

soldier89757 11-17-2019 07:17 AM

Quote:

Originally Posted by berndbausch (Post 6058708)
From the man page:

which I interpret as


The nice value is a parameter of the kernel's scheduling algorithm used to calculate processes' priorities. By default, a process has a nice value of 20.

Thank you,it helps


All times are GMT -5. The time now is 07:38 AM.