Content-type: text/html Man page of halt

halt

Section: Maintenance Commands (8)
Index Return to Main Contents
 

NAME

halt - Stops the processor  

SYNOPSIS

/usr/sbin/halt [-d] [-l] [-n] [-q] [-y]  

DESCRIPTION

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 ....Halt completed.... message, you can turn off power to the machine.

If the command is invoked without the -l, -n, or -q flag, 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 flags imply the -l flag.  

FLAGS

Generates a crash dump of the system before halting it. Can be used with any other flag. 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  

EXAMPLES

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  

FILES

Specifies the command path Specifies the syslog daemon Specifies the login accounting file  

RELATED INFORMATION

Commands: fasthalt(8), reboot(8), savecore(8), shutdown(8), syslogd(8)

Functions: reboot(2), sync(2), syslog(3) delim off


 

Index

NAME
SYNOPSIS
DESCRIPTION
FLAGS
EXAMPLES
FILES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:40:41 GMT, October 02, 2010