List all services and their state:
# svcs -a
List the state of a single service:
# svcs -l svc:/network/telnet:default fmri svc:/network/telnet:default name Telnet server enabled true state online next_state none state_time Thu Oct 13 12:01:43 2005 restarter svc:/network/inetd:default
Show extended info on a service:
# svcs -x svc:/network/telnet:default svc:/network/telnet:default (Telnet server) State: online since Thu Oct 13 10:47:20 2005 See: in.telnetd(1M) See: telnetd(1M) Impact: None.
Disable a service:
# svcadm disable svc:/network/telnet:default
Enable a service:
# svcadm enable svc:/network/telnet:default
List dependencies for a service:
# svcs -d /network/dns/client STATE STIME FMRI online 10:46:43 svc:/network/loopback:default online 10:46:50 svc:/milestone/network:default online 10:46:53 svc:/system/filesystem/minimal:default online 10:47:04 svc:/network/service:defaultList dependents of a service:
# svcs -D /network/dns/client STATE STIME FMRI disabled 10:46:47 svc:/network/security/kadmin:default disabled 10:46:47 svc:/network/security/krb5kdc:default online 10:47:04 svc:/milestone/name-services:default