Sun Microsystems Sun Workstation 100U System Manager's Manual page 253

Table of Contents

Advertisement

SHUTDOWN ( 8 )
MAINTENANCE COMMANDS
SHUTDOWN(8)
NAME
shutdo~n
- close down the system at a given time
SYNOPSIS
/ete/8hutdown [
-k J (
-r
Il-h )
time ( warning-message ... J
DESCRIPTION
Shutdown provides an automated shutdown procedure which a super-user caQ use to notify users
nicely when the system is shutting down, saving them from system administrators, haekers, and
gurus, who would otherwise not bother with niceties.
Time is the time at which Bhutdown will bring the system down and may be the word
DOW
(indi-
cating 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
ot
day indicated
(as
a 24-hour clock).
At intervals which get closer together
as
apocalypse 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
messa.ge there.
If this file
exists when a user attempts to log in, login(l) prints its contents and
exits. The file is removed just before Bhutdown exits.
At shutdown time a message is written in the file / UBrI tJdm/ BAutdownlog, 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
singl~user
state.
The time of the shutdown and the warning message are placed in
I
etcl nolo gin 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
As an alternative to the above procedure, these options can be specified:
-r
Execute rehoot(8).
-h
Execute htJlt(8).
-k
If it isn't obvious, -k is to make people
tAink the system is going down!
FILES
letc/nologin
tells login not to let anyone log in
/usr/3I.fm/shutdownlog log file lor succesrul shutdowns.
SEE ALSO
BUGS
98
login(l), reboot(8)
Only allows you to kill the system between now and ·23:59 if you use the absolute time ror shut-
down.
Last change: 27 March 1983
Sun Release 1.1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents