NICE(1) — Unix Programmer’s Manual
NAME
nice, nohup − run a command at low priority
SYNOPSIS
nice [-number] command
nice -llevel command
nice -llevel -ppid
nohup command
DESCRIPTION
Nice executes command with low scheduling priority. If the number argument is present, the scheduling level of the process is adjusted accordingly (see nice(2)). The default number is 10. The superuser may improve process scheduling levels by using a negative number, for example, −−10.
If the -l flag is present, the number level immediately following the flag is used to directly set the scheduling base level of the process to level. The legal range of level is 0 to 31, and only the superuser can increase the level. When the -l option is specified, the -p option may be present instead of a command. In this case, the level of the process with number pid is changed to level. The change of level is allowed only if the user is the superuser, or has the same uid as the process specified.
Nohup executes command immune to hangup and terminate signals from the controlling terminal. The equivalent of a ’nice -5’ is applied to the command. Nohup should be invoked from the shell with ‘&’ in order to prevent it from responding to interrupts by or stealing the input from the next person who logs in on the same terminal.
FILES
nohup.out -- nohup standard output and error file
SEE ALSO
DIAGNOSTICS
nice −number command returns the exit status of the subject command.
7th Edition