xref: /csrg-svn/sbin/reboot/reboot.8 (revision 62939)
1*62939Sbostic.\" Copyright (c) 1990, 1991, 1993
2*62939Sbostic.\"	The Regents of the University of California.  All rights reserved.
351435Sbostic.\"
451435Sbostic.\" %sccs.include.redist.roff%
551435Sbostic.\"
6*62939Sbostic.\"	@(#)reboot.8	8.1 (Berkeley) 06/09/93
751435Sbostic.\"
851435Sbostic.Dd
951435Sbostic.Dt REBOOT 8
1051435Sbostic.Os
1151435Sbostic.Sh NAME
1251442Sbostic.Nm reboot ,
1351442Sbostic.Nm halt
1451435Sbostic.Nd
1551442Sbosticstopping and restarting the system
1651435Sbostic.Sh SYNOPSIS
1751442Sbostic.Nm halt
1851442Sbostic.Op Fl nq
1951435Sbostic.Nm reboot
2051435Sbostic.Op Fl nq
2151435Sbostic.Sh DESCRIPTION
2251435SbosticThe
2351442Sbostic.Nm halt
2451442Sbosticand
2551435Sbostic.Nm reboot
2651442Sbosticutilities flush the file system cache to disk, send all running processes
2751442Sbostica SIGTERM (and subsequently a SIGKILL) and, respectively, halt or restart
2851442Sbosticthe system.
2951442SbosticThe action is logged, including entering a shutdown record into the login
3051435Sbosticaccounting file.
3151435Sbostic.Pp
3251435SbosticThe options are as follows:
3351435Sbostic.Bl -tag -width Ds
3451435Sbostic.It Fl n
3551435SbosticIf the
3651435Sbostic.Fl n
3751435Sbosticoption is specified,
3851442Sbosticthe file system cache is not flushed.
3951442SbosticThis option should probably not be used.
4051435Sbostic.It Fl q
4151435SbosticIf the
4251435Sbostic.Fl q
4351435Sbosticoption is specified,
4451442Sbosticthe system is halted or restarted quickly and ungracefully, and only
4551442Sbosticthe flushing of the file system cache is performed.
4651442SbosticThis option should probably not be used.
4751435Sbostic.El
4851435Sbostic.Pp
4951442SbosticNormally, the
5051435Sbostic.Xr shutdown 8
5151442Sbosticutility is used when the system needs to be halted or restarted, giving
5251442Sbosticusers advance warning of their impending doom.
5351435Sbostic.Sh SEE ALSO
5451435Sbostic.Xr sync 1 ,
5551435Sbostic.Xr utmp 5 ,
5651435Sbostic.Xr boot 8 ,
5751442Sbostic.Xr shutdown 8
5851435Sbostic.Sh HISTORY
5962938SbosticA
6062938Sbostic.Nm reboot
6162938Sbosticcommand appeared in
6262938Sbostic.At v6 .
63