Man Pages (1MTSOL): Maintenance and Administration Commands
  Procure somente este livro
Fazer download desta apostila em PDF

NAME

halt, poweroff - stop the processor

SYNOPSIS

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

AVAILABILITY

SUNWcsu

DESCRIPTION

halt and poweroff write out any pending information to the disks and then stop the processor. poweroff will have the machine remove power, if possible.
halt and poweroff normally log the system shutdown to the system log daemon, syslogd (1M),and place a shutdown record in the login accounting file /var/adm/wtmp. These actions are inhibited if the -n or -q options are present.

OPTIONS

-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/wtmp
login accounting file

SUMMARY OF TRUSTED

This command requires the sys_boot privilege in order to run.

SOLARIS CHANGES

SEE ALSO

init(1M), reboot(1M), shutdown(1M), sync(1M), syslogd (1M)

NOTES

halt does not execute the rc0 scripts as do shutdown(1M) and init(1M).
poweroff is equivalent to init 5 .