Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ shutdown(1m) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                             shutdown(1m)



        _________________________________________________________________
        shutdown
        shut down system, change system state
        _________________________________________________________________


        SYNTAX

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


        DESCRIPTION

        This command is 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.

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

        -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.

        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.  Both /root and /usr will be mounted, and the update



        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)





                                                             shutdown(1m)



             demon will be running. If specified in the /etc/inittab/
             file, optional "administrative" terminals will have gettys
             spawned.


        SEE ALSO

        init(1m).
        inittab(4) in the Programmer's Reference for the DG/UX System.













































        DG/UX 4.00                                                 Page 2
               Licensed material--property of copyright holder(s)



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