RENICE(8) — MAINTENANCE COMMANDS
NAME
renice − alter nice value of running processes
SYNOPSIS
/usr/etc/renice niceval pid...
/usr/etc/renice niceval [ −p pid... ] [ −g pgrp... ] [ −u username... ]
DESCRIPTION
renice changes the “nice value” of running processes to niceval. Changing the nice value of a process changes its scheduling priority, see nice(1).
Users other than the super-user may only alter the nice value of processes they own, and can only monotonically increase their nice value within the range 0 through 19. (This prevents overriding administrative controls.) The super-user may alter the nice value of any process, setting it to any value in the range −20 through 19.
Some interesting nice values are: 19 (the affected processes will run only when nothing else in the system wants to), 0 (the default nice value), and any negative value (to make things go faster).
OPTIONS
By default, the processes to be affected are specified by their process IDs.
−p pid ...
Specify a list of process IDs.
−g pgrp ...
Specify a list of process group IDs. The processes in the specified process groups have their nice values altered.
−u user ...
Specify a list of user IDs or usernames. All processes owned by each user have their nice values altered.
FILES
/etc/passwd to map user names to user ID’s
SEE ALSO
Sun Release 4.0 — Last change: 17 July 1989