Disabling services in Solaris 10

To disable a service under Solaris 10 we use the svcadm command. For example, if we wish to display the NFS server, we would execute:

# svcadm disable network/nfs/server

We can use the svcs command to check the status of services. For example to check the status of the NFS services:

# svcs | grep nfs
online 11:24:25 svc:/network/nfs/status:default
online 11:24:29 svc:/network/nfs/mapid:default
online 11:24:12 svc:/network/nfs/nlockmgr:default
online 11:29:11 svc:/network/nfs/rquota:default
online 13:51:33 svc:/network/nfs/server:default

Review my Solaris 10 SMF post for additional information.