1 '\" te 2 .\" Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved. 3 .\" Copyright (c) 2013, Joyent, Inc. All rights reserved. 4 .\" 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. 5 .\" 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. 6 .\" 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] 7 .TH HALT 1M "Jul 26, 2013" 8 .SH NAME 9 halt, poweroff \- stop the processor 10 .SH SYNOPSIS 11 .LP 12 .nf 13 \fB/usr/sbin/halt\fR [\fB-dlnqy\fR] 14 .fi 15 16 .LP 17 .nf 18 \fB/usr/sbin/poweroff\fR [\fB-dlnqy\fR] 19 .fi 20 21 .SH DESCRIPTION 22 .sp 23 .LP 24 The \fBhalt\fR and \fBpoweroff\fR utilities write any pending information to 25 the disks and then stop the processor. The \fBpoweroff\fR utility has the 26 machine remove power, if possible. 27 .sp 28 .LP 29 The \fBhalt\fR and \fBpoweroff\fR utilities normally log the system shutdown to 30 the system log daemon, \fBsyslogd\fR(1M), and place a shutdown record in the 31 login accounting file \fB/var/adm/wtmpx\fR. These actions are inhibited if the 32 \fB-n\fR or \fB-q\fR options are present. 33 .SH OPTIONS 34 .sp 35 .LP 36 The following options are supported: 37 .sp 38 .ne 2 39 .na 40 \fB\fB-d\fR\fR 41 .ad 42 .RS 6n 43 Force a system crash dump before rebooting. See \fBdumpadm\fR(1M) for 44 information on configuring system crash dumps. 45 .RE 46 47 .sp 48 .ne 2 49 .na 50 \fB\fB-l\fR\fR 51 .ad 52 .RS 6n 53 Suppress sending a message to the system log daemon, \fBsyslogd\fR(1M), about 54 who executed \fBhalt\fR. 55 .RE 56 57 .sp 58 .ne 2 59 .na 60 \fB\fB-n\fR\fR 61 .ad 62 .RS 6n 63 Prevent the \fBsync\fR(1M) before stopping. 64 .RE 65 66 .sp 67 .ne 2 68 .na 69 \fB\fB-q\fR\fR 70 .ad 71 .RS 6n 72 Quick halt. No graceful shutdown is attempted. 73 .RE 74 75 .sp 76 .ne 2 77 .na 78 \fB\fB-y\fR\fR 79 .ad 80 .RS 6n 81 This option is ignored for backwards compatibility. 82 .RE 83 84 .SH FILES 85 .sp 86 .ne 2 87 .na 88 \fB\fB/var/adm/wtmpx\fR\fR 89 .ad 90 .RS 18n 91 History of user access and administration information. 92 .RE 93 94 .SH SEE ALSO 95 .sp 96 .LP 97 \fBdumpadm\fR(1M), \fBinit\fR(1M), \fBreboot\fR(1M), \fBshutdown\fR(1M), 98 \fBsync\fR(1M), \fBsyslogd\fR(1M), \fBinittab\fR(4), \fBattributes\fR(5), 99 \fBsmf\fR(5) 100 .SH NOTES 101 .sp 102 .LP 103 The \fBhalt\fR and \fBpoweroff\fR utilities do not cleanly shutdown 104 \fBsmf\fR(5) services. Execute the scripts in \fB/etc/rcnum.d\fR or execute 105 shutdown actions in \fBinittab\fR(4). To ensure a complete shutdown of system 106 services, use \fBshutdown\fR(1M) or \fBinit\fR(1M) to reboot a Solaris system.