What exactly is meant by a “niced” and an “un-niced” user process

nicetop

I was using the "top " command and I came across the nice value. I am aware of the priorities and how a nice value indicates the priority of a process. But I can't seem to figure out what the term "niced" or "un-niced" indicates.

Best Answer

"un-nice" isn't really well defined; we normally talk about the "niceness" of a process.

"Niceness" values range from -20 to +19 and default at zero.

Normal users can lower the priority of their process; increase the niceness value; eg nice -n 5 myprogram.

The root user can higher the priority of their process; reduce the niceness, and make them "un-nice"; eg nice -n -5 myprogram.

If a normal user tries to use a negative niceness then it's ignored.