BSD 2.11 - man page for nice (bsd section 1)
|Linux & Unix Commands - Search Man Pages
nice, nohup - run a command at low priority (sh only)
nice [ -number ] command [ arguments ]
nohup command [ arguments ]
Nice executes command with low scheduling priority. If the number argument is present,
the priority is incremented (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 pri-
ority, e.g. `--10'.
Nohup executes command immune to hangup and terminate signals from the controlling termi-
nal. 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
csh(1), setpriority(2), renice(8)
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 automatically immune to hangup signals while in the background. There is a
builtin command nohup which provides immunity 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 06:14 AM.