Solaris のシステム管理

例 - SPARC システムを実行レベル S にする

次の例では、shutdown コマンドと boot コマンドを使用して、3 分後に、SPARC システムを実行レベル S (シングルユーザーモード) にしています。

# 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
#