xref: /csrg-svn/sbin/reboot/halt.8 (revision 47462)
1*47462Scael.\" Copyright (c) 1980, 1991 The Regents of the University of California.
235596Sbostic.\" All rights reserved.
318877Smckusick.\"
443784Strent.\" %sccs.include.redist.man%
518877Smckusick.\"
6*47462Scael.\"     @(#)halt.8	6.5 (Berkeley) 03/16/91
735596Sbostic.\"
8*47462Scael.Dd
9*47462Scael.Dt HALT 8
10*47462Scael.Os BSD 4
11*47462Scael.Sh NAME
12*47462Scael.Nm halt
13*47462Scael.Nd stop the processor
14*47462Scael.Sh SYNOPSIS
15*47462Scael.Nm halt
16*47462Scael.Op Fl n
17*47462Scael.Op Fl q
18*47462Scael.Op Fl y
19*47462Scael.Sh DESCRIPTION
20*47462Scael.Nm Halt
2118877Smckusickwrites out sandbagged information to the disks and then stops
2218877Smckusickthe processor.  The machine does not reboot, even if the auto-reboot
2318877Smckusickswitch is set on the console.
24*47462Scael.Pp
25*47462ScaelAvailable options for
26*47462Scael.Nm halt :
27*47462Scael.Bl -tag -width Ds
28*47462Scael.It Fl n
29*47462ScaelNo sync before stopping.
30*47462Scael.It Fl q
31*47462ScaelQuick halt, no graceful shutdown is attempted.
32*47462Scael.It Fl y
33*47462ScaelThis option is needed if you are trying to halt the system from a dialup.
34*47462Scael.El
35*47462Scael.Pp
36*47462Scael.Nm Halt
3728720Skarelsnormally logs the shutdown using
38*47462Scael.Xr syslog 8
3928720Skarelsand places a shutdown record in the login accounting file
40*47462Scael.Pa /var/log/wtmp.
4128720SkarelsThese actions are inhibited if the
42*47462Scael.Fl n
4328720Skarelsor
44*47462Scael.Fl q
4528720Skarelsoptions are present.
46*47462Scael.Sh SEE ALSO
47*47462Scael.Xr reboot 8 ,
48*47462Scael.Xr shutdown 8 ,
49*47462Scael.Xr syslogd 8
50*47462Scael.Sh BUGS
51*47462ScaelIt is very difficult to halt a
52*47462Scael.Tn VAX ,
53*47462Scaelas the machine wants to then
5418877Smckusickreboot itself.  A rather tight loop suffices.
55*47462Scael.Sh HISTORY
56*47462ScaelThe
57*47462Scael.Nm
58*47462Scaelcommand appeared in
59*47462Scael.Bx 4.0 .
60