xref: /original-bsd/sbin/reboot/halt.8 (revision 7bad34b3)
1.\" Copyright (c) 1980, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)halt.8	6.5 (Berkeley) 03/16/91
7.\"
8.Dd
9.Dt HALT 8
10.Os BSD 4
11.Sh NAME
12.Nm halt
13.Nd stop the processor
14.Sh SYNOPSIS
15.Nm halt
16.Op Fl n
17.Op Fl q
18.Op Fl y
19.Sh DESCRIPTION
20.Nm Halt
21writes out sandbagged information to the disks and then stops
22the processor.  The machine does not reboot, even if the auto-reboot
23switch is set on the console.
24.Pp
25Available options for
26.Nm halt :
27.Bl -tag -width Ds
28.It Fl n
29No sync before stopping.
30.It Fl q
31Quick halt, no graceful shutdown is attempted.
32.It Fl y
33This option is needed if you are trying to halt the system from a dialup.
34.El
35.Pp
36.Nm Halt
37normally logs the shutdown using
38.Xr syslog 8
39and places a shutdown record in the login accounting file
40.Pa /var/log/wtmp.
41These actions are inhibited if the
42.Fl n
43or
44.Fl q
45options are present.
46.Sh SEE ALSO
47.Xr reboot 8 ,
48.Xr shutdown 8 ,
49.Xr syslogd 8
50.Sh BUGS
51It is very difficult to halt a
52.Tn VAX ,
53as the machine wants to then
54reboot itself.  A rather tight loop suffices.
55.Sh HISTORY
56The
57.Nm
58command appeared in
59.Bx 4.0 .
60