Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fasthalt(8)

reboot(8)

shutdown(8)

syslogd(8)

halt(2)

reboot(2)

sync(2)

syslog(3)

halt(8)  —  Maintenance

OSF

NAME

halt − Stops the processor

SYNOPSIS

halt -l

halt -n

halt -q

halt -y

The halt command writes data to the disks and then stops the processor(s), but does not reboot the machine.  Only root can run this command. 

FLAGS

-lDoes not log the halt using syslog

-nPrevents the sync before stopping, and does not log the halt using syslog

-qCauses a quick halt, does not log the halt using syslog, and makes no attempt to kill all processes

-yHalts the system from a dial-up operation

DESCRIPTION

Use the halt command if you are not going to restart the machine immediately.  When the system displays the ....Halt completed.... message, you can turn off the power. 

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. 

EXAMPLES

     1.To halt the system without logging the shutdown in the log file, enter:

halt -l

     2.To halt the system quickly, enter:

halt -q

     3.To halt the system from a dial-up, enter:

halt -y

CAUTIONS

DO NOT use this command if other users are logged into the system, or if the system is operating at a multiuser run level. 

FILES

/usr/sbin/halt
Specifies the command path

/usr/sbin/syslogd
Specifies the syslog daemon

/var/adm/wtmp
Specifies the login accounting file

RELATED INFORMATION

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

Functions: halt(2), reboot(2), sync(2), syslog(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026