man pages section 1M: System Administration Commands
  Sök endast i den här boken
Visa den här boken i:
Ladda ner denna bok i PDF (8966 KB)

halt(1M)

Name | Synopsis | Description | Options | Files | Attributes | See Also | Notes

Name

    halt, poweroff– stop the processor

Synopsis

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

Description

    The halt and poweroff utilities write any pending information to the disks and then stop the processor. The poweroff utility has 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 attributes:

    ATTRIBUTE TYPE 

    ATTRIBUTE VALUE 

    Availability 

    SUNWcsu 

See Also

Notes

    The halt and poweroff utilities do not cleanly shutdown smf(5) services. Execute the scripts in /etc/rcnum.d or execute shutdown actions in inittab(4). To ensure a complete shutdown of system services, use shutdown(1M) or init(1M) to reboot a Solaris system.

SunOS 5.10  Last Revised 2 Nov 2004

Name | Synopsis | Description | Options | Files | Attributes | See Also | Notes