Htop: Question - What Do Negative nice Numbers Represent?

Created on 13 Jan 2015  路  4Comments  路  Source: hishamhm/htop

Hi,

When I look in htop I am seeing nice numbers listed as negative like this;

PID     User  Pri   NI  
1288  foo     0     -21

This is showing up for this process;
/usr/bin/X -nolisten tcp :0 -auth /home/foo/.serverauth.13393

I don't understand what the -21 means as a negative number?

I also see NI listed as -1 for /usr/sbin/ulogd -d why also the negative for ulogd?

thank you

Most helpful comment

All 4 comments

Hi,

So a -1 is also considered a high priority?

So then, these are both just processes given high priority...

So anything as a negative is a higher priority?

thanks

So a -1 is also considered a high priority?

Yes. Not _very high_ priority, but little bit higher than default.

ok thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

svenha picture svenha  路  5Comments

sbibauw picture sbibauw  路  7Comments

jackyf picture jackyf  路  9Comments

grantwwu picture grantwwu  路  3Comments

mmarzantowicz picture mmarzantowicz  路  3Comments