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
Saturday, February 21, 2009
SVC command for Sol 10
Labels:
UNIX
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment