Shut Down the OS (init Command)
1.
Obtain the OpenBoot prompt.
See
"Obtaining the OpenBoot Prompt" on page
2.
Boot the host using one of these methods:
■
Boot from the devices specified in the OpenBoot boot-device parameter.
ok boot
Specify a device to boot from.
■
ok boot boot_device
where boot_device is a valid device from which to boot. For a list of valid devices, see
"OpenBoot Configuration Parameters" on page
Related Information
"Boot the OS (Oracle ILOM)" on page 35
■
"Boot Sequence" on page 34
■
Shut Down the OS (init Command)
The init command is an executable shell script that terminates all active processes on a system
and then synchronizes the disks before changing run levels. Specifying run level 0 shuts down
the OS and displays the OpenBoot prompt.
Log in to Oracle Solaris as a user with root privileges.
1.
Shut down the OS.
2.
Note -
SPARC S7-2 server. Your output might vary from the examples based on your product.
# init 0
# svc.startd: The system is coming down. Please wait.
svc.startd: 126 system services are now being stopped.
Sep 21 13:31:31 systemA.xxxxx.com syslogd: going down on signal 15
svc.startd: Killing user processes.
Sep 21 13:31:37 The system is down. Shutdown took 23 seconds.
syncing file systems... done
Program terminated
36
SPARC and Netra SPARC S7-2 Series Servers Administration Guide • March 2017
This document applies to several server products. The following example is based on the
38.
47.