# 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
Saturday, May 30, 2009
Service Manager
Labels:
UNIX
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment