nice(1) nice(1)
NAME
nice - executes a command at low priority
SYNOPSIS
nice [-increment] command [arguments]
ARGUMENTS
-increment
Specifies the increment of the command. Replace
increment with a number between 1 and 19. If this
argument is not specified, an increment of 10 is
assumed. A negative increment (such as -10) enables
the superuser to run commands with priority higher than
normal.
arguments
Specifies the arguments for the specified command.
command
Specifies the command to be executed.
DESCRIPTION
nice executes command with a lower CPU scheduling priority.
The nice command built into the C shell is different from
/bin/nice, which can be used by any shell.
EXAMPLES
For the Bourne shell (sh) or Korn shell (ksh):
nice -10 date
would cause the program date to be processed at a priority
lower than normal (0), i.e., at +10. In the C shell (csh),
the same is achieved by typing in
nice +10 date
LIMITATIONS
An increment larger than 19 is equivalent to 19.
STATUS MESSAGES AND VALUES
The nice program returns the exit status of the subject
command.
FILES
/bin/nice
Executable file
SEE ALSO
csh(1), ksh(1), nohup(1), sh(1)
January 1992 1
nice(2) in A/UX Programmer's Reference
2 January 1992