Friday, November 18, 2011

Solaris OS

Recently I got an assignment related to Solaris operating system version 10. I explored some of the interesting and useful commands. Here I wish to share these with you.


1) The command which is used to identify the status of services is

svcs -a

this command will list all the status of the services.

Example:

Below command is used to find the status of finger service.

svcs -a | grep finger


output:
online : svc:/network/finger

Here online represents "Running" otherwise It will be "offline".

2) The command which is used to disable the services is svcadm.

below command will stop / disable the finger service in your machine.


svcadm disable network/finger



No comments:

Post a Comment