renice
renice syntax
renice [-n] priority [[-p] pid who...] [[-g] pgrp who...] [[-u] user who...]
The priority value of any given process can vary from -20 (highest priority, least "nice") to 20 (lowest priority, "nicest"). The default priority of new processes, by default, is 0.
renice'ing a process group causes all processes in the process group to have their scheduling priority altered.
renice'ing a user causes all processes owned by the user to have their scheduling priority altered.
[root@localhost ~]# renice -n -30 6938
6938 (process ID) old priority -10, new priority -20
Comments
Post a Comment