Tuesday, May 5, 2009

nice

The nice command enables to adjust the priority of a command.

Syntax

# nice [-increment] command [Arguments]

To increase the priority of ps command, decrease the nice value.

# nice --10 ps

To decrease the priority of ps command, increase the nice value.

# nice -10 ps

Note1: By default a foreground process has a nice value of 20.
Note2: By default a background process has a nice value of 24.
Note3: Non Root users can only degrade the priority of their own commands.

Thanks

No comments:

Post a Comment

Followers

Powered By Blogger
 

RAC Database Administration. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com