Chapter 10 Preparing to Replace Components 10-7
a. As superuser, open a terminal window and at the prompt type either of the
following:
or
The shutdown command provides options for automatically notifying the users
of a scheduled shutdown. This example informs users that the system will shut
down in 5 minutes and remind them every minute. Refer to the shutdown man
page for additional information.
Use the init command to invoke specific restart processes. Some processes apply
to the currently running instance, others upon next system boot. Refer to
TABLE 10-1 for a brief description of the init shutdown options. Refer to the init
man page for descriptions of the state options and init syntax.
4. Verify that the power is off and check that the system fans are not spinning.
5. Power off and disconnect the monitor, keyboard, mouse, and network
connections.
See FIGURE 10-3.
# shutdown -i S -g 300
# init 5
TABLE 10-1 Init Command Shutdown Options
Opt Purpose
0 Brings the system to the firmware level.
1 Reboots the system to system administrator mode. All files are accessible and no
users are logged onto the system.
5 Shuts down the system so that it is safe to remove the power.
6 Stops the operating system and reboots to the state specified in the init default
entry in the /etc/inittab file.