1837035 Members
2564 Online
110111 Solutions
New Discussion

Re: what is NICE on top

 
danny_27
New Member

what is NICE on top

Hi.
top command.

CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS

what is "NICE" ?

Thanks for your help.
7 REPLIES 7
harry d brown jr
Honored Contributor

Re: what is NICE on top

NICE is the nice amount (in the range -20 to 20),

http://www.tac.eu.org/cgi-bin/man-cgi?top+1

live free or die
harry
Live Free or Die
Michael Tully
Honored Contributor

Re: what is NICE on top

Hi,

This is actually in the man page for 'top'

Nice value ranging from -20 to +20.

Have a look at the man pages for 'nice' and 'renice' for further explanation.

Michael
Anyone for a Mutiny ?
Bill McNAMARA_1
Honored Contributor

Re: what is NICE on top

You can man nice and renice also.

more or less you are making a program nicer to user by running it at a lower priority.

Later,
Bill
It works for me (tm)
John Bolene
Honored Contributor

Re: what is NICE on top

nice refers to making the process have less priority for getting cpu resources in the same job class
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
A. Clay Stephenson
Acclaimed Contributor

Re: what is NICE on top

'Niceness' is one component of the process scheduling algorithm. A normal user can increase the niceness (i.e. giving up priority of a process in favor of other processes) but only a super-user can decrease the nice value which does the opposite.
If it ain't broke, I can fix that.
Tom Danzig
Honored Contributor

Re: what is NICE on top

subject: what is NICE on top

Pamala Anderson!

Couldn't resist!
Anil Sedha
Advisor

Re: what is NICE on top

Danny,

NICE command is used to set the priority of a process to run.

If you want some process to take lesser CPU and memory and it is not critical to produce results immediately, you should run it with the nice command.

The levels for nice as specified earlier are -20 to +20

Live, love and let live