shutdown(1M) shutdown(1M)
NAME
shutdown - terminate all processing
SYNOPSIS
/etc/shutdown
DESCRIPTION
The primary shutdown function is to terminate all currently
running processes in an orderly and cautious manner. The
procedure is designed to interact with the operator (i.e.,
the person who invoked shutdown). shutdown may instruct the
operator to perform some specific tasks, or to supply
certain responses before execution can resume. shutdown
goes through the following steps:
All users logged on the system are notified to log off
the system by a broadcasted message. The operator may
display his/her own message at this time. Otherwise, the
standard file save message is displayed.
If the operator wishes to run the file-save procedure,
shutdown unmounts all file systems.
All file systems' super blocks are updated before the
system is brought to single-user mode. A sync must be
done before re-booting the system, to ensure file system
integrity.
DIAGNOSTICS
The most common error diagnostic that will occur is device
busy. This diagnostic happens when a particular file system
could not be unmounted.
FILES
/etc/shutdown
SEE ALSO
mount(1M), sync(1).
Page 1 (last mod. 1/15/87)