Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ shutdown(8) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

login(1)

fsck(8)

reboot(8)



SHUTDOWN(8)             COMMAND REFERENCE             SHUTDOWN(8)



NAME
     shutdown - close down the system at a given time

SYNOPSIS
     /etc/shutdown [ -h ] [ -k ] [ -r ] time [ warning-message
     ... ]

DESCRIPTION
     Shutdown provides an automated shutdown procedure which a
     super-user can use to notify users nicely when the system is
     shutting down.

     The preferred way to bring the system down is to turn off
     the power switch.  This will initiate shutdown.  When
     shutdown exits, the system will go through an automated
     process of checking the file systems (see fsck(8)).  If the
     file systems are healthy, a file named /fastboot is created.
     The existence of this file signals the system at boot time
     that an additional file system check need not be done at
     boot time and the system will boot in much less time.

     Time is the time at which shutdown will bring the system
     down and may be the word now (indicating an immediate
     shutdown) or specify a future time in one of two formats:
     +number and hour:min.  The first form brings the system down
     in number minutes and the second brings the system down at
     the time of day indicated (as a 24-hour clock).

     At intervals which get closer together as shutdown time
     approaches, warning-messages are displayed at the terminals
     of all users on the system.  Five minutes before shutdown,
     or immediately if shutdown is in less than 5 minutes, logins
     are disabled by creating /etc/nologin and writing a message
     there.  If this file exists when a user attempts to log in,
     login(1) prints its contents and exits.  The file is removed
     just before shutdown exits.

     At shutdown time a message is written in the file
     /usr/adm/shutdownlog, containing the time of shutdown, who
     ran shutdown and the reason.  Then a terminate signal is
     sent at init to bring the system down to single-user state.

     The time of the shutdown and the warning message are placed
     in /etc/nologin and should be used to inform the users about
     when the system will be back up and why it is going down (or
     anything else).

OPTIONS
     -h  Shutdown will exec halt(8).

     -k  Shutdown will not shut down the system (-k is to make
         users think the system is going down).



Printed 10/17/86                                                1





SHUTDOWN(8)             COMMAND REFERENCE             SHUTDOWN(8)



     -r  Shutdown will exec reboot(8).

FILES
     /etc/nologin             tells login not to let anyone log
                              in

     /usr/adm/shutdownlog     log file for successful shutdowns.

     /fastboot                created during shutdown procedure
                              after successful disk check

RETURN VALUE
     [NO_ERRS]      Command completed without error.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [NP_WARN]      An error warranting a warning message
                    occurred. Execution continues.

     [P_ERR]        A system error occurred. Execution
                    terminated.  See intro(2) for more
                    information on system errors.

CAVEATS
     Shutdown only allows you to kill the system between now and
     23:59 if you use the absolute time for shutdown.

SEE ALSO
     login(1), fsck(8), reboot(8).

























Printed 10/17/86                                                2





































































%%index%%
na:72,84;
sy:156,282;
de:438,2466;
op:2904,351;3399,82;
fi:3481,393;
rv:3874,510;
ca:4384,218;
se:4602,144;
%%index%%000000000141

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