halt - Stops the processor
/usr/sbin/halt [-d] [-l] [-n] [-q] [-y]
Generates a crash dump of the system before halting it.
Can be used with any other option. Does not log the halt
using syslog. Prevents the sync before stopping, and does
not log the halt using syslog. Causes a quick halt, does
not log the halt using syslog, and makes no attempt to
kill all processes. Halts the system from a dial-up operation.
If other users are logged into the system, or if the system
is operating at a multiuser run level, use the
/usr/sbin/shutdown -h command to halt the system. If only
the root user is logged in, and you do not plan to restart
the system immediately, use the halt command.
The halt command writes data to the disks and then stops
the processor(s), but does not reboot the machine.
You must be the root user to run this command.
When the system displays the message, you can turn off
power to the machine.
If the command is invoked without the -l, -n, or -q
option, the halt program logs the shutdown using the syslogd
command and places a record of the shutdown in the
login accounting file, /var/adm/wtmp. Using the -q and
the -n options imply the -l option.
To halt the system without logging the shutdown in the log
file, enter: halt -l To halt the system quickly, enter:
halt -q To halt the system quickly, also leaving a crash
dump for the savecore command, enter: halt -d -q To halt
the system from a dial-up, enter: halt -y
Specifies the command path. Specifies the syslog daemon.
Specifies the login accounting file.
Commands: fasthalt(8), reboot(8), savecore(8), shutdown(8), syslogd(8)
Functions: reboot(2), sync(2), syslog(3)
halt(8)
[ Back ] |