Solaris 10: managing services with SMF

In Solaris 10, services are managed by SMF. The scripts in /etc/rcX.d are only there for legacy (and so is inetd).
To manage the services, you mainly use 2 commands : svcadm and svcs. Below are the most useful commands.

disable services :
# svcadm disable network/finger

enable services :
# svcadm enable network/finger

list all enabled services :
# svcs

list all services:
#svcs -a

list error conditions for services:
#svcs -x

These are the only options I’ve use so far … for the other ones, check the manual !

One thought on “Solaris 10: managing services with SMF”

Comments are closed.