1 .\" $NetBSD: reboot.8,v 1.29 2011/02/16 19:32:26 wiz Exp $
3 .\" Copyright (c) 1990, 1991, 1993
4 .\" The Regents of the University of California. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the University nor the names of its contributors
15 .\" may be used to endorse or promote products derived from this software
16 .\" without specific prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" @(#)reboot.8 8.1 (Berkeley) 6/9/93
39 .Nd restarting, powering down and stopping the system
54 utilities flush the file system cache to disk, send all running processes
57 wait for up to 30 seconds for them to die, send a
59 to the survivors and, respectively, power down, halt or restart the system.
60 The action is logged, including entering a shutdown record into the login
61 accounting file and sending a message via
64 The options are as follows:
67 Create a dump before halting or restarting.
68 This option is useful for debugging system dump procedures or
69 capturing the state of a corrupted or misbehaving system.
71 Suppress sending a message via
73 before halting or restarting.
75 Do not flush the file system cache.
76 This option should be used with extreme caution.
77 It can be used if a disk or a processor is on fire.
79 Attempt to powerdown the system.
80 If the powerdown fails, or the system does not support
81 software powerdown, the system will halt.
82 This option is only valid for
85 To enable verbose messages on the console, pass the
92 To enable debugging messages on the console, pass the
99 To silence some shutdown messages on the console, pass the
106 Do not give processes a chance to shut down before halting or restarting.
107 This option should not normally be used.
110 If there are any arguments passed to
112 they are concatenated with spaces and passed as
117 The string is passed to the firmware on platforms that support it.
121 utility is used when the system needs to be halted or restarted, giving
122 users advance warning of their impending doom.
140 command first appeared in
143 Once the command has begun its work, stopping it before it completes
144 will probably result in a system so crippled it must be
146 To prevent premature termination, the command
147 blocks many signals early in its execution.
148 However, nothing can defend against deliberate attempts to evade this.
150 This command will stop the system without running any
153 Amongst other things, this means that swapping will not be
156 can shutdown cleanly.
157 You should normally use
159 unless you are running in single user mode.
161 The single user shell will ignore the
164 To avoid waiting for the timeout when
165 rebooting or halting from the single user shell, you have to