Go to main content
SPARC and Netra SPARC T5 Series Servers Administration Guide

Exit Print View

Updated: August 2016
 
 

Shut Down the OS (shutdown Command)

The shutdown command sends a warning message, then terminates active processes on a system to reach a specified run level. Specifying run level 0 shuts down the OS and displays the OpenBoot prompt.

  1. Log in to Oracle Solaris as a user with root privileges.
  2. Shut down the OS.

    In this example, these command options shut down the OS to the OpenBoot prompt:

    • -g0 – Specifies a grace period of 0 seconds.

    • -i0 – Specifies the run level 0, which is equivalent to the init 0 command.

    • -y – Pre-answers the confirmation question so that the command runs without user intervention.


    Note - This document applies to several server and server module products. The following example is based on the SPARC T5-2 server. Your output might vary from the examples based on your product.
    # shutdown -g0 -i0 -y
    # svc.startd: The system is coming down. Please wait.
    svc.startd: 106 system services are now being stopped.
    Sep 12 17:52:11 systemA syslogd: going down on signal 15
    svc.startd: The system is down.
    syncing file systems...done
    Program terminated
     
    SPARC T5-2, No Keyboard
    Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights 
    reserved.
    OpenBoot 4.33.1, 32256 MB memory available, Serial #xxxxxxxx.
    Ethernet address 0:xx:xx:xx:xx:xx, Host ID: xxxxxxxx.
    {0} ok
    

Related Information