Saturday, May 30, 2009

Service Manager

# to show what system services are running or disabled
root@server:# svcs -a

# To start, stop or restart a service
root@server:# svcadm enable ssh
root@server:# svcadm disable ssh
root@server:# svcadm refresh ssh


# to clear maintenance flag and start a service
root@server:# svcadm clear ssh
root@server:# svcadm enable ssh

# Use -t to make change non persistant
root@server:# svcadm enable -t ssh

# to switch to a milestone
root@server:# svcadm milestone svc:/milestone/single-user:default

Readers who read this page, also read:




Bookmark and Share My Zimbio http://www.wikio.com

0 comments: