poweroff

 


 
 
 
 Maintenance Commands                                     halt(1M)
 
 
 


NAME

halt, poweroff - stop the processor

SYNOPSIS

/usr/sbin/halt [ -dlnqy ] /usr/sbin/poweroff [ -dlnqy ]

DESCRIPTION

The halt and poweroff utilities write any pending informa- tion to the disks and then stop the processor. The poweroff utility will have the machine remove power, if possible. The halt and poweroff utilities normally log the system shutdown to the system log daemon, syslogd(1M), 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(1M) for information on configuring system crash dumps. -l Suppress sending a message to the system log daemon, syslogd(1M), about who executed halt. -n Prevent the sync(1M) before stopping. -q Quick halt. No graceful shutdown is attempted. -y Halt the system, even from a dialup terminal.

FILES

/var/adm/wtmpx history of user access and administration information

ATTRIBUTES

See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWcsu | |_____________________________|_____________________________|

SEE ALSO

SunOS 5.8 Last change: 30 Mar 1999 1 Maintenance Commands halt(1M) dumpadm(1M), init(1M), reboot(1M), shutdown(1M), sync(1M), syslogd(1M), attributes(5)

NOTES

The halt utility does not execute the rc0 scripts as do shutdown(1M) and init(1M). The poweroff utility is equivalent to init5. SunOS 5.8 Last change: 30 Mar 1999 2