Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ shutdown(1M) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

init(1M)

inittab(4)



shutdown(1M)                   DG/UX 5.4R3.00                   shutdown(1M)


NAME
       shutdown - shut down system, change system state

SYNOPSIS
       /etc/shutdown [ -y ] [ -g graceperiod [ -i initstate ]

DESCRIPTION
       This command can only be executed by the superuser to change the
       state of the machine.  By default, it brings the system to a state
       where only the operator console has access to the UNIX system.  This
       state is traditionally called "single-user".

       The command sends a warning message to all of the terminals (all the
       people currently logged in) and a final message before it starts
       actual shutdown activities.  By default, the command asks the user at
       the console for confirmation before it starts shutting down daemons
       and killing processes.  The options are used as follows:


       -y     pre-answers the confirmation question so 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.

       -ggraceperiod
              allows the superuser to change the number of seconds from the
              60-second default.  graceperiod is expressed in seconds:
              g300 gives a 5-minute warning.

       -iinitstate
              specifies the state that init(1M) is to be put in following
              the warnings, if any.  By default, system state "s" is used.

       Possible system states are:

       state s, S
            Bring the machine to the state traditionally called single-user.
            The /etc/rcS.d rc scripts are called to do this work.  All
            processes are killed and all file systems other than root are
            unmounted.

       state 1
            Bring the machine to the state called the administrator run
            level.  All local file systems will be mounted, and the update
            daemon will be running.  If specified in the /etc/inittab file,
            optional "administrative" terminals may be enabled.

SEE ALSO
       init(1M), inittab(4).







Licensed material--property of copyright holder(s)                         1


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