Tuesday, May 5, 2009

renice

The renice command is used to change the nice value of one or more processes that are running on a system. The renice command can also change the nice values of a specific process group.

Syntax

# renice [-n Increment] [-g -p -u] ID

Where ID – When p option is used it represents PID. When g option is used it represents process group ID. When u option is used it indicates user id.

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

# renice –n -10 –p 52904

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

# renice –n 10 –p 52904

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