Nice executes command with low scheduling priority. If the number argument is present, the priority is incre-
mented (higher numbers mean lower priorities) by that amount up to a limit of 20. The default number is 10.
The super-user may run commands with priority higher than normal by using a negative priority, e.g. `--10'.
Nohup executes command immune to hangup and terminate signals from the controlling terminal. The priority is
incremented by 5. 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.
nohup.out standard output and standard error file under nohup
Nice returns the exit status of the subject command.
Nice and nohup are particular to sh(1). If you use csh(1), then commands executed with ``&'' are automati-
cally immune to hangup signals while in the background. There is a builtin command nohup which provides immu-
nity from terminate, but it does not redirect output to nohup.out.
Nice 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.
4th Berkeley Distribution May 8, 1986 NICE(1)
All times are GMT -4. The time now is 08:34 AM.
Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.