DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦c81bed8d8⟧ TextFile

    Length: 3261 (0xcbd)
    Types: TextFile
    Notes: UNIX file
    Names: »shutdown.8«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/man/cat8/shutdown.8« 

TextFile





































































                                                                         1






           SHUTDOWN(8)        UNIX Programmer's Manual         SHUTDOWN(8)



           NAME
                shutdown - close down the system at a given time

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

           DESCRIPTION
                _▶08◀S_▶08◀h_▶08◀u_▶08◀t_▶08◀d_▶08◀o_▶08◀w_▶08◀n provides an automated shutdown procedure which  a
                super-user  can use to notify users nicely when the system
                is shutting down, saving them from system  administrators,
                hackers,  and  gurus,  who would otherwise not bother with
                niceties.

                _▶08◀T_▶08◀i_▶08◀m_▶08◀e is the time at which _▶08◀s_▶08◀h_▶08◀u_▶08◀t_▶08◀d_▶08◀o_▶08◀w_▶08◀n will bring  the  system
                down  and may take two formats: +number and hour:min.  The
                first form brings the system down in  _▶08◀n_▶08◀u_▶08◀m_▶08◀b_▶08◀e_▶08◀r  minutes  and
                the second brings the system down at the time of day indi-
                cated (as a 24-hour clock).

                At intervals  which  get  closer  together  as  apocalypse
                approaches,  warning  messages are displayed at the termi-
                nals 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
                logs in, _▶08◀l_▶08◀o_▶08◀g_▶08◀i_▶08◀n(1) prints its contents and exits.  The file
                is removed just before _▶08◀s_▶08◀h_▶08◀u_▶08◀t_▶08◀d_▶08◀o_▶08◀w_▶08◀n 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  _▶08◀i_▶08◀n_▶08◀i_▶08◀t  to  bring  the  system down to single-user
                state.  Alternatively, if -r, -h, or  -k  was  used,  then
                _▶08◀s_▶08◀h_▶08◀u_▶08◀t_▶08◀d_▶08◀o_▶08◀w_▶08◀n  will  exec _▶08◀r_▶08◀e_▶08◀b_▶08◀o_▶08◀o_▶08◀t(8), _▶08◀h_▶08◀a_▶08◀l_▶08◀t(8), or avoid shutting
                the system down (respectively).  (If it isn't obvious,  -k
                is to make people _▶08◀t_▶08◀h_▶08◀i_▶08◀n_▶08◀k the system is going down!)

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

           FILES
                /etc/nologin   tells login not to let anyone log in
                /usr/adm/shutdownlog     log file for succesful shutdowns.

           SEE ALSO
                login(1), reboot(8)

           BUGS
                Only allows you to kill the system between now  and  23:59
                if you use the absolute time for shutdown.

                Times to shutdown are not nice and round, i.e.  ``shutdown
                in 18 seconds''.





                                                                         1