Saturday, February 21, 2009

SVC command for Sol 10

To check the service is online or offline:

svcs -v

e.g.

#svcs -v ssh
online - 12:23:17 115 svc:/network/ssh:default

To Stop the service:

#svcadm disable network/ssh

To start the service:

#svcadm enable network/ssh

To restart the service:

# svcadm restart network/ssh

Readers who read this page, also read:




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

0 comments: