Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ shutdown(1M) — sys5 — Apollo Domain/OS SR10.3.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

init(1M)

SHUTDOWN(1M)                         SysV                         SHUTDOWN(1M)



NAME
     shutdown - shut down system, change system state

SYNOPSIS
     /etc/shutdown [ -y ] [ -ggrace_period [ -iinit_state ]

DESCRIPTION
     This command is executed by the super-user (root) to change the state of
     the machine.  By default, it brings the system to a state where only the
     console has access to the operating system.  This state is traditionally
     called "single-user".

     The command sends a warning message and a final message before it starts
     shutdown activities.  By default, the command asks for confirmation
     before it starts shutting down servers and killing processes.

OPTIONS
     -y        Pre-answers the confirmation question so that the command can
               be run without user intervention.  A default of 60 seconds is
               allowed between the warning message and the final message.
               Another 60 seconds is allowed between the final message and the
               confirmation.

     -ggrace_period
               Allows the super-user to change the number of seconds from the
               60-second default.

     -iinit_state
               Specifies the state that init(1M) is to be put in following the
               warnings, if any.  By default, system state "s" is used (the
               same as states "1" and "S").

     Recommended system state definitions:

     State 0   Shut the machine down so it is safe to remove the power.  Have
               the machine remove power if it can.  (On Apollo nodes, shuts
               down to the Mnemonic Debugger.)

     State 1, s, S
               Bring the machine to the state traditionally called single-
               user.  (Though s and 1 are both used to go to single user
               state, s only kills processes spawned by init and does not
               unmount file systems.  State 1 unmounts everything except root
               and kills all user processes, except those that relate to the
               console.  All three of these states bring the machine to the
               Apollo phase II Shell.)

     State 5   Stop the operating system and go to the firmware monitor (i.e.,
               the Mnemonic Debugger).

     State 6   Stop the operating system and reboot.

SEE ALSO
     init(1M)

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