|
|
1.1 root 1: .TH NICE 1 "18 January 1983"
2: .UC 4
3: .SH NAME
4: nice, nohup \- run a command at low priority (\fIsh\fR only)
5: .SH SYNOPSIS
6: .B nice
7: [
8: .BI \- number
9: ]
10: command [ arguments ]
11: .PP
12: .B nohup
13: command [ arguments ]
14: .SH DESCRIPTION
15: .I Nice
16: executes
17: .I command
18: with low scheduling priority.
19: If the
20: .I number
21: argument is present, the priority is incremented (higher
22: numbers mean lower priorities) by that amount up to a limit of 20.
23: The default
24: .I number
25: is 10.
26: .PP
27: The super-user may run commands with
28: priority higher than normal
29: by using a negative priority,
30: e.g. `\-\-10'.
31: .PP
32: .I Nohup
33: executes
34: .I command
35: immune to hangup and terminate signals from the controlling terminal.
36: The priority is incremented by 5.
37: .I Nohup
38: should be invoked from the shell with `&' in order to
39: prevent it from responding to interrupts by or
40: stealing the input from
41: the next person who logs in on the same terminal.
42: The syntax of nice is also different.
43: .SH FILES
44: nohup.out standard output and standard error file under
45: .I nohup
46: .SH "SEE ALSO"
47: csh(1), setpriority(2), renice(8)
48: .SH DIAGNOSTICS
49: .I Nice
50: returns the exit status of the subject command.
51: .SH BUGS
52: .I Nice
53: and
54: .I nohup
55: are particular to
56: .IR sh (1).
57: If you use
58: .IR csh (1),
59: then commands executed with ``&'' are automatically immune to hangup
60: signals while in the background.
61: There is a builtin command
62: .I nohup
63: which provides immunity from terminate, but it does not
64: redirect output to
65: .I nohup.out.
66: .PP
67: .I Nice
68: is built into
69: .IR csh (1)
70: with a slightly different syntax than described here. The form
71: ``nice +10'' nices to positive nice, and ``nice \-10'' can be used
72: by the super-user to give a process more of the processor.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.