SHUTDOWN(C) XENIX System V SHUTDOWN(C)
Name
shutdown - Terminates all processing.
Syntax
/etc/shutdown [ time ] [ su ]
Description
shutdown is part of the XENIX operation procedures. Its
primary function is to terminate all currently running
processes in an orderly and cautious manner. The time
argument is the number of minutes before a shutdown will
occur. The optional su argument lets the user go single-
user, without completely shutting down the system. However,
the system is shut down for multi-user use. shutdown goes
through the following steps. First, all users logged on the
system are notified to log off the system by a broadcasted
message. All file system super-blocks are updated before the
system is stopped (see sync(C)). This must be done before
rebooting the system, to insure file system integrity.
See Also
sync(C), umount(C), wall(C)
Diagnostics
The most common error diagnostic that will occur is device
busy. This diagnostic appears when a particular file system
could not be unmounted. See umount(C).
Notes
Once shutdown has been invoked, it must be allowed to run to
completion and must not be interrupted by pressing BREAK or
DEL.
shutdown locks the hard disk heads.
Page 1 (printed 8/7/87)