Operating System - HP-UX
1846593 Members
1373 Online
110256 Solutions
New Discussion

top meaning of nice field

 
SOLVED
Go to solution
Karl oliver
Frequent Advisor

top meaning of nice field

I have looked at several threads regarding top nice on this site but cant find good description of what I want
example of top on our system

pu states:
LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
2.48 8.9% 85.1% 5.9% 0.0% 0.0% 0.0% 0.0% 0.0%

In regrads to the nice using 85 of cpu where is this lumped into. is it user cpu ?
sar gives completely different picture in regards to cpu performance- never mentions niceas we know.
what is acceptable sys usage ,as a general rule

2 REPLIES 2
SANTOSH S. MHASKAR
Trusted Contributor

Re: top meaning of nice field

Dennis Handly
Acclaimed Contributor
Solution

Re: top meaning of nice field

As SANTOSH's link says, nice is a special state where "nice" users tell the OS that they don't have to have the highest priority, they can wait.

Typically, if bgnice is set, processes put in the background are niced. You can also use the nice(1) command to do that. Or renice(1) after the fact.

As far as a sysadmin is concerned, it is the sum of USER and NICE that is important.