svcs
Option | Function |
---|
-a | Displays all services, including those which have been disabled |
-d | Lists a service's dependencies |
-D | Lists a service's dependents |
-l | Displays all available information about the service |
-p | Lists all processes (PID) associated with a service |
-x | Displays explanations for service states |
-v | With -x, displays extra information for each explanation |
svcadm
# svcadm (option) command target
Command | Function |
---|
disable | Stop the running process |
enable | Start the process |
restart | Stop, then start the process |
refresh | |
Option | |
---|
-t | This change is not permanent (ie a disable or enable command state will not survive a reboot |
Logs
Service-specific logs (for OS provided things, anyways) end up in /var/svc/log