renice – command

renice command syntax:

The renice command changes the nice value of a process already running. It’s syntax is as follows:
renice {priority} pid

The following will change nice value of process 2243 to 19, enter:
# renice 19 2243

The following will change the priority of process ID’s 1024 and all processes owned by users vibe, enter:
# renice +1 1024 -u vibe

The following will change the priority of process ID’s 1024 and 66, and all processes owned by users daemon and root.
# renice +1 1024 -u daemon root -p 66

Please note that:

  1. Users can only change the nice value of processes which they own.
  2. User cannot start processes with nice values less than 20
  3. User cannot lower the nice values of their processes after they’ve raised them.
  4. As usual root has full access to renice command

For more details and options see renice command man page:
$ man renice

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s