HALT(8) Maintenance Commands and Procedures HALT(8)

NAME


halt, poweroff - stop the processor

SYNOPSIS


/usr/sbin/halt [-dlnqy]


/usr/sbin/poweroff [-dlnqy]


DESCRIPTION


The halt and poweroff utilities write any pending information to the
disks and then stop the processor. The poweroff utility has the machine
remove power, if possible.


The halt and poweroff utilities normally log the system shutdown to the
system log daemon, syslogd(8), and place a shutdown record in the login
accounting file /var/adm/wtmpx. These actions are inhibited if the -n or
-q options are present.

OPTIONS


The following options are supported:

-d
Force a system crash dump before rebooting. See dumpadm(8) for
information on configuring system crash dumps.


-l
Suppress sending a message to the system log daemon, syslogd(8),
about who executed halt.


-n
Prevent the sync(8) before stopping.


-q
Quick halt. No graceful shutdown is attempted.


-y
This option is ignored for backwards compatibility.


FILES


/var/adm/wtmpx
History of user access and administration information.


SEE ALSO


inittab(5), attributes(7), smf(7), dumpadm(8), init(8), reboot(8),
shutdown(8), sync(8), syslogd(8)

NOTES


The halt and poweroff utilities do not cleanly shutdown smf(7) services.
Execute the scripts in /etc/rcnum.d or execute shutdown actions in
inittab(5). To ensure a complete shutdown of system services, use
shutdown(8) or init(8) to reboot a Solaris system.

July 26, 2013 HALT(8)