|
|
1.1 root 1: .\" Copyright (c) 1980 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)nice.1 6.2 (Berkeley) 5/8/86
6: .\"
7: .TH NICE 1 "May 8, 1986"
8: .UC 4
9: .SH NAME
10: nice, nohup \- run a command at low priority (\fIsh\fR only)
11: .SH SYNOPSIS
12: .B nice
13: [
14: .BI \- number
15: ]
16: command [ arguments ]
17: .PP
18: .B nohup
19: command [ arguments ]
20: .SH DESCRIPTION
21: .I Nice
22: executes
23: .I command
24: with low scheduling priority.
25: If the
26: .I number
27: argument is present, the priority is incremented (higher
28: numbers mean lower priorities) by that amount up to a limit of 20.
29: The default
30: .I number
31: is 10.
32: .PP
33: The super-user may run commands with
34: priority higher than normal
35: by using a negative priority,
36: e.g. `\-\-10'.
37: .PP
38: .I Nohup
39: executes
40: .I command
41: immune to hangup and terminate signals from the controlling terminal.
42: The priority is incremented by 5.
43: .I Nohup
44: should be invoked from the shell with `&' in order to
45: prevent it from responding to interrupts by or
46: stealing the input from
47: the next person who logs in on the same terminal.
48: .SH FILES
49: nohup.out standard output and standard error file under
50: .I nohup
51: .SH "SEE ALSO"
52: csh(1), setpriority(2), renice(8)
53: .SH DIAGNOSTICS
54: .I Nice
55: returns the exit status of the subject command.
56: .SH BUGS
57: .I Nice
58: and
59: .I nohup
60: are particular to
61: .IR sh (1).
62: If you use
63: .IR csh (1),
64: then commands executed with ``&'' are automatically immune to hangup
65: signals while in the background.
66: There is a builtin command
67: .I nohup
68: which provides immunity from terminate, but it does not
69: redirect output to
70: .I nohup.out.
71: .PP
72: .I Nice
73: is built into
74: .IR csh (1)
75: with a slightly different syntax than described here. The form
76: ``nice +10'' nices to positive nice, and ``nice \-10'' can be used
77: 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.