System Administration Guide

Example--Bringing a SPARC System to Run Level S

In the following example, the shutdown and boot commands are used to bring a SPARC system to run level S (single-user state) in 3 minutes.


# who
root       console       May  7 08:35
# shutdown -i0 -g180 -y
 
Shutdown started.    Wed May  7 08:39:17 MDT 1997
 
Broadcast Message from root (console) on mars Wed May  7 08:39:18
The system will be shut down in 1 minute
Broadcast Message from root (console) on mars Wed May  7 08:39:50
The system will be shut down in 30 seconds
.
.
.
INIT: New run level: 0
The system is coming down.  Please wait.
syncing file systems... [7] [7] [5] done
Program terminated
ok boot -s
Booting from: sd(0,0,0) -s
SunOS Release 5.6 Version generic [UNIX(R) System V Release 4.0]
Copyright (c) 1983-1997, Sun Microsystems, Inc.
configuring network interfaces: le0.
Hostname: mars
 
INIT: SINGLE USER MODE
 
Type Ctrl-d to proceed with normal startup,
(or give root password for system maintenance): xxx
Entering System Maintenance Mode
#