Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/r/renice.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/r/renice.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/r/renice.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/r/renice.html on line 8

renice

Adjust the priorities of running processes (POSIX)

Syntax:

renice prioritylevel [-g pgrp...] 
       [-p pid...] [-u user...]

Runs on:

Neutrino

Options:

-g pgrp
Renice processes in this process group.
-p pid
Renice this process.
-u user
Renice processes owned by this user.
prioritylevel
The amount to adjust the priority by. Positive numbers lower the priority by that many full priority levels, while negative numbers raise the priority.

Description:

The renice utility adjusts the priority of all the threads in one or more running processes. The specified prioritylevel is subtracted from the current priority of each selected process.

If you enter a: renice:
Positive value (e.g. 2 or +2) Lowers the priority of a process, making it “nicer” to other processes
Negative value (e.g. -2) Raises the priority of a process, making it “meaner” to other processes

You can adjust the priority as follows:

If you're: You can change to any priority:
A non-root user From 1 to 63
root From 1 to 255

If you don't have the appropriate privileges, you can renice only the processes you own. You can change the range of privileged priorities with the -P option for procnto.

Examples:

Lower the priority of process 768 by 2:

renice 2 -p 768

Exit status:

0
Successful completion.
> 0
An error occurred.

See also:

nice, slay


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/r/renice.html on line 190

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/r/renice.html on line 190