shutdown(1M) shutdown(1M)NAME shutdown - terminates processes that support multi-user mode and enters single-user mode SYNOPSIS shutdown [-ginterval] [-h] [-iinitstate] [-k] [-n] [-r] [-y] [timeout [warning-message]] ARGUMENTS -ginterval Specifies the time interval between the messages warning users of imminent shutdown of the system. -h Runs powerdown(1M). The system automatically uses the default timeout and warning message when you use this option. -iinitstate Specifies the final system state after shutdown. Specifying 6 causes a reboot (same effect as that of the option -r). Specifying 0 causes the system to power down (same effect as that of the option -h). The default is 1. -k Causes the shutdown warning message to be broadcast to other users, but doesn't actually shut the system down. This option is handy in situations where you want the whole system to yourself. The system automatically uses the default timeout and warning message when you use this option. -n Prevents the normal sync(2) before stopping. If you use this option with -h or -r, the file system states don't synchronize, so the system checks the file systems when rebooting. -r Causes a system reboot after shutdown. (For more information, see reboot(1M).) The system automatically uses the default timeout and warning message when you use this option. timeout Specifies the time at which the shutdown process should begin. Use now to indicate an immediate shutdown. You can set the system shutdown to happen a particular number of minutes from the current time, or at a set time according to the 24-hour clock. To specify the number of minutes until shutdown, use this format: number-of-minutes To set the shutdown for a particular time between now January 1992 1
shutdown(1M) shutdown(1M)and 23:59, use this format: hour:min If you don't specify timeout, shutdown prompts you for a value. warning-message Specifies the message to be displayed at each of the terminals supported by the system. These warning messages are displayed with increasing frequency as the shutdown time approaches. If you don't specify a warning message, shutdown prompts you for one. -y Causes shutdown to use a default warning-message and a default timeout of two minutes, if they are not supplied on the command line. Without this option, unless you specify warning-message and timeout, the system prompts you to enter a message and time until shutdown. DESCRIPTION shutdown automatically gives other system users advance notice of the impending system shutdown and then performs an orderly shutdown procedure. In order to use shutdown you must be logged in to the root account. When the timeout expires, shutdown prompts you to give final confirmation. Once you confirm the shutdown, the system signals init and brings the system down to a single-user state, terminating all other user processes. LIMITATIONS If you use the absolute time for shutdown, you can only shut down the system between now and 23:59. FILES /etc/shutdown Executable file SEE ALSO powerdown(1M), reboot(1M) login(1) in A/UX Command Reference reboot(2) in A/UX Programmer's Reference 2 January 1992