SHUTDOWN(ADM) XENIX System V SHUTDOWN(ADM)
Name
shutdown - Terminates all processing.
Syntax
/etc/shutdown [ time ] [ su ]
Description
The primary function of shutdown is to terminate all
currently running processes in an orderly and cautious
manner. shutdown goes through the following steps:
1. All users logged on the system are notified to log off
the system by a broadcast message.
2. /etc/init is called to perform the the actual shutdown.
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.
You must be super-user to execute the shutdown command.
See Also
sync(ADM), umount(ADM), wall(ADM), boot(HW)
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(ADM).
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 does not work when executed from within a shell
layer.
shutdown locks the hard disk heads.
Page 1 (printed 2/7/91)