In the following example, the shutdown is used to bring a SPARC based system to run level S (single-user level) in 3 minutes.
# who root console Dec 13 14:30 # shutdown -g180 -y Shutdown started. Thu Dec 13 14:30:32 MST 2001 Broadcast Message from root (console) on earth Thu Dec 13 14:30:33... The system earth will be shut down in 3 minutes . . . Broadcast Message from root (console) on earth Thu Dec 13 14:30:33... The system earth will be shut down in 30 seconds . . . INIT: New run level: S The system is coming down for administration. Please wait. Unmounting remote filesystems: /vol nfs done. Shutting down Solaris Management Console server on port 898. Print services stopped. Dec 13 14:34:00 earth syslogd: going down on signal 15 Killing user processes: done. INIT: SINGLE USER MODE Type control-d to proceed with normal startup, (or give root password for system maintenance): xxx Entering System Maintenance Mode ... # |