For When You Can't Have The Real Thing
[ start | index | login ]
start > Solaris > SMF

SMF

Created by dave. Last edited by dave, 11 years and 35 days ago. Viewed 6,971 times. #3
[diff] [history] [edit] [rdf]
labels
attachments

svcs

svcs [option] process

OptionFunction
-aDisplays all services, including those which have been disabled
-dLists a service's dependencies
-DLists a service's dependents
-lDisplays all available information about the service
-pLists all processes (PID) associated with a service
-xDisplays explanations for service states
-vWith -x, displays extra information for each explanation

svcadm

# svcadm (option) command target

CommandFunction
disableStop the running process
enableStart the process
restartStop, then start the process
refresh 

Option 
-tThis 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

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt