the renice command change the nice value of an already running process.the nice value of -19 is very high priority,while a value of 19 is very low priority.a value of 0 is the default priority.the
$renice [priority] [pid] [pgrp] [user]
Sr.No |
Options |
Descriptions |
---|---|---|
01 |
-n |
The scheduling priority of the process, process group, or user. |
02 |
-g |
Force who parameters to be interpreted as process group ID's. |
03 |
-u |
Force the who parameters to be interpreted as user names. |
04 |
-p |
Resets the who interpretation to be (the default) process ID's. |
05 |
-v |
Display version information, and exit. |
06 |
-h |
Display a help message, and exit. |
Example
$renice +1 3868 -u tutstudio root -p 320
Change the priority of process IDs 3868 and 320, and all processes owned by users tutstudio and root, to be one greater (+1, one increment "nicer") than its current value.