dissociate from old session, tty
[unix-history] / usr / src / sbin / reboot / halt.8
CommitLineData
5bcf4c18
KB
1.\" Copyright (c) 1980 The Regents of the University of California.
2.\" All rights reserved.
79ff4b9e 3.\"
3177b9af 4.\" %sccs.include.redist.man%
79ff4b9e 5.\"
3177b9af 6.\" @(#)halt.8 6.4 (Berkeley) %G%
5bcf4c18
KB
7.\"
8.TH <PROGNAME> <SECTION> ""
cc6525dc 9.TH HALT 8 ""
79ff4b9e
KM
10.UC 4
11.SH NAME
12halt \- stop the processor
13.SH SYNOPSIS
3177b9af 14.B halt
79ff4b9e
KM
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.
b77763cc
MK
37.PP
38.I Halt
39normally logs the shutdown using
40.IR syslog (8)
41and places a shutdown record in the login accounting file
3177b9af 42/var/log/wtmp.
b77763cc
MK
43These actions are inhibited if the
44.B \-n
45or
46.B \-q
47options are present.
79ff4b9e 48.SH SEE ALSO
b77763cc 49reboot(8), shutdown(8), syslogd(8)
79ff4b9e
KM
50.SH BUGS
51It is very difficult to halt a VAX, as the machine wants to then
52reboot itself. A rather tight loop suffices.