NICE(1) UNIX Programmer's Manual NICE(1)
nice, nohup - run a command at low priority (_
\bs_
\bh only)
S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
n
\bni
\bic
\bce
\be [ -
\b-_
\bn_
\bu_
\bm_
\bb_
\be_
\br ] command [ arguments ]
n
\bno
\boh
\bhu
\bup
\bp command [ arguments ]
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
_
\bN_
\bi_
\bc_
\be executes _
\bc_
\bo_
\bm_
\bm_
\ba_
\bn_
\bd with low scheduling priority. If the
_
\bn_
\bu_
\bm_
\bb_
\be_
\br argument is present, the priority is incremented
(higher numbers mean lower priorities) by that amount up to
a limit of 20. The default _
\bn_
\bu_
\bm_
\bb_
\be_
\br is 10.
The super-user may run commands with priority higher than
normal by using a negative priority, e.g. `--10'.
_
\bN_
\bo_
\bh_
\bu_
\bp executes _
\bc_
\bo_
\bm_
\bm_
\ba_
\bn_
\bd immune to hangup and terminate sig-
nals from the controlling terminal. The priority is incre-
mented by 5. _
\bN_
\bo_
\bh_
\bu_
\bp 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
nohup.out standard output and standard error file under
S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
csh(1), setpriority(2), renice(8)
D
\bDI
\bIA
\bAG
\bGN
\bNO
\bOS
\bST
\bTI
\bIC
\bCS
\bS
_
\bN_
\bi_
\bc_
\be returns the exit status of the subject command.
_
\bN_
\bi_
\bc_
\be and _
\bn_
\bo_
\bh_
\bu_
\bp are particular to _
\bs_
\bh(1). If you use _
\bc_
\bs_
\bh(1),
then commands executed with ``&'' are automatically immune
to hangup signals while in the background. There is a buil-
tin command _
\bn_
\bo_
\bh_
\bu_
\bp which provides immunity from terminate,
but it does not redirect output to _
\bn_
\bo_
\bh_
\bu_
\bp._
\bo_
\bu_
\bt.
_
\bN_
\bi_
\bc_
\be is built into _
\bc_
\bs_
\bh(1) with a slightly different syntax
than described here. The form ``nice +10'' nices to posi-
tive nice, and ``nice -10'' can be used by the super-user to
give a process more of the processor.
Printed 7/9/88 May 8, 1986 1