NICE

Section: User Commands (1)
Index Return to Main Contents

BSD mandoc
 

NAME

nice - execute a utility with an altered scheduling priority  

SYNOPSIS

[-n increment ] utility [argument ... ]  

DESCRIPTION

runs utility at an altered scheduling priority. If an increment is given, it is used; otherwise an increment of 10 is assumed. The super-user can run utilities with priorities higher than normal by using a negative increment The priority can be adjusted over a range of -20 (the highest) to 20 (the lowest).

Available options:

-n increment
A positive or negative decimal integer used to modify the system scheduling priority of utility.

 

DIAGNOSTICS

The utility shall exit with one of the following values:

1-125
An error occurred in the utility.
126
The utility was found but could not be invoked.
127
The utility could not be found.

Otherwise, the exit status of shall be that of utility  

COMPATIBILITY

The historic -increment option has been deprecated but is still supported in this implementation.  

SEE ALSO

csh(1), getpriority(2), setpriority(2), renice(8)  

STANDARDS

The utility conforms to St -p1003.2-92 .  

HISTORY

A utility appeared in AT&T System v6 .  

BUGS

is built into csh(1) with a slightly different syntax than described here. The form `nice' +10 nices to positive nice, and `nice' -10 can be used by the super-user to give a process more of the processor.


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
COMPATIBILITY
SEE ALSO
STANDARDS
HISTORY
BUGS

This document was created by man2html, using the manual pages.
Time: 04:29:15 GMT, April 24, 2025