Chapter 2


Ending the System

2.1 SYSTEM END PROCEDURE

2.1.1 SUPER-UX Shutdown

Use the shutdown command to end the SUPER-UX system. The shutdown command enters run level 0 mode when the system is ended using the command for changing the system run mode. Log on to the system as a superuser, set root as the current directory, then enter the following:

When shutdown is executed, if any user is using a terminal, the following notification message is sent to the terminal being used:

If the user is still using the terminal 60 seconds after output of the above message, the following warning message appears:

The interval between the output of messages (1) and (2) can be set with the -g option.

System postprocessing is performed after notification of shutdown has been posted to a user. This is accomplished by executing shell scripts having file names beginning with K?? (??: 2-digit number), in ?? number order. These shell scripts are stored in the /etc/rc0.d directory. The following shell script files are provided at release:

K00ANNOUNCEOutputs a message indicating the end of the system service.
k80netEnds the BSD network daemon.
K90clrutmpClears the /etc/utmp file.
K99errorlogStops the error log daemon.

Add or delete these shell scripts according to the operations to be performed by the system.

Upon the completion of the execution of the above shell scripts, all processes are killed and the local file system is unmounted. The system stops.

2.1.2 Closing the System

The system is closed after SUPER-UX has been shut down. Log in to system control IOX from a workstation, then activate the SX operation command (/opt/sx/bin/sxop) used as a SUPER-UX console under SX-4.

Using the sxop command, enter the following subcommand:

When SYSTEM CLOSE COMPLETE appears, system closing has been completed.

Home

Contents Previous Chapter Next Chapter Index