Thursday 25 February 2010

top and renice

To prioritize a process in linux, we can either execute renice command directly from the shell or from the top command.

$renice 19 $PID sets the low priority to the $PID process , bigger the number lower the priority.

$same can be achieved through the top command
press r -> asks for PID: <enter $PID> -> asks for the NICE value : <enter a number > -> negative increases the priority of the process.

No comments:

Post a Comment

Tweets by @sriramperumalla