dissociate from old session, tty
[unix-history] / usr / src / sbin / reboot / halt.8
... / ...
CommitLineData
1.\" Copyright (c) 1980 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\" @(#)halt.8 6.4 (Berkeley) %G%
7.\"
8.TH <PROGNAME> <SECTION> ""
9.TH HALT 8 ""
10.UC 4
11.SH NAME
12halt \- stop the processor
13.SH SYNOPSIS
14.B halt
15[
16.B \-n
17]
18[
19.B \-q
20]
21[
22.B \-y
23]
24.SH DESCRIPTION
25.I Halt
26writes out sandbagged information to the disks and then stops
27the processor. The machine does not reboot, even if the auto-reboot
28switch is set on the console.
29.PP
30The
31.B \-n
32option prevents the sync before stopping. The
33.B \-q
34option causes a quick halt, no graceful shutdown is attempted. The
35.B \-y
36option is needed if you are trying to halt the system from a dialup.
37.PP
38.I Halt
39normally logs the shutdown using
40.IR syslog (8)
41and places a shutdown record in the login accounting file
42/var/log/wtmp.
43These actions are inhibited if the
44.B \-n
45or
46.B \-q
47options are present.
48.SH SEE ALSO
49reboot(8), shutdown(8), syslogd(8)
50.SH BUGS
51It is very difficult to halt a VAX, as the machine wants to then
52reboot itself. A rather tight loop suffices.