Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ shutdown(1M-ucb) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

login(1)

fastboot(1M)

halt(1M)

reboot(1M)

sync(1M)

syslogd(1M)

sync(2)

shutdown(1M-ucb)        (BSD Compatibility Package)        shutdown(1M-ucb)

NAME
     shutdown - close down the system at a given time

SYNOPSIS
     /usr/ucb/shutdown [-fhknr] [time [warning-message ...]

DESCRIPTION
     shutdown provides an automated procedure to notify users when the sys-
     tem is to be shut down. time specifies when shutdown will bring the
     system down; it may be the word now (indicating an immediate shut-
     down), or it may 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 in
     24-hour notation.

     At intervals that get closer as the apocalypse approaches, warning
     messages are displayed at terminals of all logged-in users, and of
     users who have remote mounts on that machine. 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 to the system log daemon,
     syslogd(1M), containing the time of shutdown, the instigator of the
     shutdown, and the reason. Then a terminate signal is sent to init(1M),
     which brings the system down to singleuser mode.

     The time of the shutdown and the warning message are placed in
     /etc/nologin, which should be used to inform the users as to 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 speci-
     fied:

     -f   Arranges, in the manner of fastboot, that when the system is
          rebooted, the file systems will not be checked.

     -h   Executes halt(1M).

     -k   Simulates system shutdown. Do not actually shut down the system.

     -n   Prevents the normal sync(1M) before stopping.

     -r   Executes reboot(1M).

NOTE
     Only allows you to bring the system down between now and 23:59 if you
     use the absolute time for shutdown.





Page 1                       Reliant UNIX 5.44                Printed 11/98

shutdown(1M-ucb)        (BSD Compatibility Package)        shutdown(1M-ucb)

FILES
     /etc/nologin
          Tells login(1) not to let anyone log in.

     /etc/xtab
          List of remote hosts that have mounted this host.

SEE ALSO
     login(1), fastboot(1M), halt(1M), reboot(1M), sync(1M), syslogd(1M),
     sync(2).












































Page 2                       Reliant UNIX 5.44                Printed 11/98

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