1 '\" te
   2 .\" Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved.
   3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6 .TH HALT 1M "Nov 2, 2004"
   7 .SH NAME
   8 halt, poweroff \- stop the processor
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 \fB/usr/sbin/halt\fR [\fB-dlnqy\fR]
  13 .fi
  14 
  15 .LP
  16 .nf
  17 \fB/usr/sbin/poweroff\fR [\fB-dlnqy\fR]
  18 .fi
  19 
  20 .SH DESCRIPTION
  21 .sp
  22 .LP
  23 The \fBhalt\fR and \fBpoweroff\fR utilities write any pending information to
  24 the disks and then stop the processor. The \fBpoweroff\fR utility has the
  25 machine remove power, if possible.
  26 .sp
  27 .LP
  28 The \fBhalt\fR and \fBpoweroff\fR utilities normally log the system shutdown to
  29 the system log daemon, \fBsyslogd\fR(1M), and place a shutdown record in the
  30 login accounting file \fB/var/adm/wtmpx\fR. These actions are inhibited if the
  31 \fB-n\fR or \fB-q\fR options are present.
  32 .SH OPTIONS
  33 .sp
  34 .LP
  35 The following options are supported:
  36 .sp
  37 .ne 2
  38 .na
  39 \fB\fB-d\fR\fR
  40 .ad
  41 .RS 6n
  42 Force a system crash dump before rebooting. See \fBdumpadm\fR(1M) for
  43 information on configuring system crash dumps.
  44 .RE
  45 
  46 .sp
  47 .ne 2
  48 .na
  49 \fB\fB-l\fR\fR
  50 .ad
  51 .RS 6n
  52 Suppress sending a message to the system log daemon, \fBsyslogd\fR(1M), about
  53 who executed \fBhalt\fR.
  54 .RE
  55 
  56 .sp
  57 .ne 2
  58 .na
  59 \fB\fB-n\fR\fR
  60 .ad
  61 .RS 6n
  62 Prevent the \fBsync\fR(1M) before stopping.
  63 .RE
  64 
  65 .sp
  66 .ne 2
  67 .na
  68 \fB\fB-q\fR\fR
  69 .ad
  70 .RS 6n
  71 Quick halt. No graceful shutdown is attempted.
  72 .RE
  73 
  74 .sp
  75 .ne 2
  76 .na
  77 \fB\fB-y\fR\fR
  78 .ad
  79 .RS 6n
  80 Halt the system, even from a dialup terminal.
  81 .RE
  82 
  83 .SH FILES
  84 .sp
  85 .ne 2
  86 .na
  87 \fB\fB/var/adm/wtmpx\fR\fR
  88 .ad
  89 .RS 18n
  90 History of user access and administration information.
  91 .RE
  92 
  93 .SH SEE ALSO
  94 .sp
  95 .LP
  96 \fBdumpadm\fR(1M), \fBinit\fR(1M), \fBreboot\fR(1M), \fBshutdown\fR(1M),
  97 \fBsync\fR(1M), \fBsyslogd\fR(1M), \fBinittab\fR(4), \fBattributes\fR(5),
  98 \fBsmf\fR(5)
  99 .SH NOTES
 100 .sp
 101 .LP
 102 The \fBhalt\fR and \fBpoweroff\fR utilities do not cleanly shutdown
 103 \fBsmf\fR(5) services. Execute the scripts in \fB/etc/rcnum.d\fR or execute
 104 shutdown actions in \fBinittab\fR(4). To ensure a complete shutdown of system
 105 services, use \fBshutdown\fR(1M) or \fBinit\fR(1M) to reboot a Solaris system.