System Administration Guide: Virtualization Using the Solaris Operating System

Checking the Status of SMF Services in a Non-Global Zone

To check the status of SMF services in a native non-global zone, use the zlogin command.

ProcedureHow to Check the Status of SMF Services From the Command Line

  1. Become superuser, or assume the Primary Administrator role.

    To create the role and assign the role to a user, see Using the Solaris Management Tools With RBAC (Task Map) in System Administration Guide: Basic Administration.

  2. From the command line, type the following to show all services, including disabled ones.


    global# zlogin my-zone svcs -a
    
See Also

For more information, see Chapter 21, Logging In to Non-Global Zones (Tasks) and svcs(1).

ProcedureHow to Check the Status of SMF Services From Within a Zone

  1. Become superuser, or assume the Primary Administrator role.

    To create the role and assign the role to a user, see Using the Solaris Management Tools With RBAC (Task Map) in System Administration Guide: Basic Administration.

  2. Log in to the zone.


    global# zlogin my-zone
    
  3. Run the svcs command with the -a option to show all services, including disabled ones.


    my-zone# svcs -a
    
See Also

For more information, see Chapter 21, Logging In to Non-Global Zones (Tasks) and svcs(1).