With no arguments, the svcs -x command gives explanatory information about the following service instances:
Instances that are enabled but not running.
Instances that are preventing other enabled services from running.
If all enabled services are running, the svcs -x command produces no output.
In the following example, the pkg/depot service is in the maintenance state because its start method failed.
$ svcs -x svc:/application/pkg/depot:default (IPS Depot) State: maintenance since September 11, 2013 01:30:42 PM PDT Reason: Start method exited with $SMF_EXIT_ERR_FATAL. See: http://support.oracle.com/msg/SMF-8000-KS See: pkg.depot-config(8) See: /var/svc/log/application-pkg-depot:default.log Impact: This service is not running.
The output suggests a Predictive Self-Healing knowledge article from My Oracle Support, a man page, and a log file to reference to determine why the start method failed. See Viewing Service Log Files for information about different ways to view log files. See Repairing an Instance That Is Degraded, Offline, or in Maintenance for information about how to fix a service that is in the maintenance state.
In the following example, the print/server service has dependent services that are not running. The dependent services cannot run because the print/server service has been disabled.
$ svcs -x svc:/application/print/server:default (LP print server) State: disabled since Fri Mar 08 14:42:32 2013 Reason: Disabled by an administrator. See: http://sun.com/msg/SMF-8000-05 See: lpsched(8) Impact: 2 dependent services are not running. (Use -v for list.) $ svcs -xv svc:/application/print/server:default (LP print server) State: disabled since Fri Mar 08 14:42:32 2013 Reason: Disabled by an administrator. See: http://sun.com/msg/SMF-8000-05 See: man -M /usr/share/man -s 8 lpsched Impact: 2 dependent services are not running: svc:/application/print/rfc1179:default svc:/application/print/ipp-listener:default $ svcs -D print/server STATE STIME FMRI online Mar_08 svc:/milestone/multi-user:default offline Mar_08 svc:/application/print/ipp-listener:default offline Mar_08 svc:/application/print/rfc1179:default
If an argument given to the svcs -x command does not meet the criteria stated at the beginning of this section, the output does not show any reason for the instance state but still shows resources for more information.
$ svcs -x smb svc:/network/smb:default (SMB properties) State: online since Thu Sep 12 19:16:56 2013 See: smb(5) See: /var/svc/log/network-smb:default.log Impact: None.