SHUTDOWN(1M)
NAME
shutdown − terminate all processing
SYNOPSIS
/etc/shutdown [grace]
HP-UX COMPATIBILITY
Level: HP-UX/STANDARD
Origin: System III
Remarks: Not supported on the Integral PC.
DESCRIPTION
Shutdown is part of the HP-UX system operation procedures. Its primary 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 to be stopped (see sync(1M)). This must be done before re-booting the system, to insure file system integrity. The most common error diagnostic that will occur is device busy. This diagnostic happens when a particular file system could not be unmounted. See umount(1M).
Grace specifies, in seconds, a grace period for users to log off before shutting down. The default is 60 seconds. If grace is zero, shutdown runs more quickly and gives the user very little time to log out.
HARDWARE DEPENDENCIES
Series 500:
A file-save procedure is not implemented.
SEE ALSO
killall(1M), mount(1M), sync(1M).
Hewlett-Packard — last mod. May 11, 2021