BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / nice.0
CommitLineData
362b077f
C
1
2
3
4NICE(1) UNIX Programmer's Manual NICE(1)
5
6
7
8N\bNA\bAM\bME\bE
9 nice, nohup - run a command at low priority (_\bs_\bh only)
10
11S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
12 n\bni\bic\bce\be [ -\b-_\bn_\bu_\bm_\bb_\be_\br ] command [ arguments ]
13
14 n\bno\boh\bhu\bup\bp command [ arguments ]
15
16D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
17 _\bN_\bi_\bc_\be executes _\bc_\bo_\bm_\bm_\ba_\bn_\bd with low scheduling priority. If the
18 _\bn_\bu_\bm_\bb_\be_\br argument is present, the priority is incremented
19 (higher numbers mean lower priorities) by that amount up to
20 a limit of 20. The default _\bn_\bu_\bm_\bb_\be_\br is 10.
21
22 The super-user may run commands with priority higher than
23 normal by using a negative priority, e.g. `--10'.
24
25 _\bN_\bo_\bh_\bu_\bp executes _\bc_\bo_\bm_\bm_\ba_\bn_\bd immune to hangup and terminate sig-
26 nals from the controlling terminal. The priority is incre-
27 mented by 5. _\bN_\bo_\bh_\bu_\bp should be invoked from the shell with
28 `&' in order to prevent it from responding to interrupts by
29 or stealing the input from the next person who logs in on
30 the same terminal.
31
32F\bFI\bIL\bLE\bES\bS
33 nohup.out standard output and standard error file under
34 _\bn_\bo_\bh_\bu_\bp
35
36S\bSE\bEE\bE A\bAL\bLS\bSO\bO
37 csh(1), setpriority(2), renice(8)
38
39D\bDI\bIA\bAG\bGN\bNO\bOS\bST\bTI\bIC\bCS\bS
40 _\bN_\bi_\bc_\be returns the exit status of the subject command.
41
42B\bBU\bUG\bGS\bS
43 _\bN_\bi_\bc_\be and _\bn_\bo_\bh_\bu_\bp are particular to _\bs_\bh(1). If you use _\bc_\bs_\bh(1),
44 then commands executed with ``&'' are automatically immune
45 to hangup signals while in the background. There is a buil-
46 tin command _\bn_\bo_\bh_\bu_\bp which provides immunity from terminate,
47 but it does not redirect output to _\bn_\bo_\bh_\bu_\bp._\bo_\bu_\bt.
48
49 _\bN_\bi_\bc_\be is built into _\bc_\bs_\bh(1) with a slightly different syntax
50 than described here. The form ``nice +10'' nices to posi-
51 tive nice, and ``nice -10'' can be used by the super-user to
52 give a process more of the processor.
53
54
55
56
57
58
59
60
61
62
63Printed 7/9/88 May 8, 1986 1
64
65
66