SMF (Service Management Facility):
the services under control of svcs are called SMF service, it is under control of user.
SMF services can be different state
1. Degraded: The service is enabe but it is running at a limited capacity
2. Disable: The service which is enabled but not running
3. Maintainace: The service which has encountered with a error that has to be rectified by the admin
4. Offline: the service which is enabled but its not running or not available to run
5. Online: The service which is enabled and has successfully started.
6. Uninitialized: The intial state of the service before the configuration is 'uninitialized'.
to view all the services:
#svcs -a: it will show the disable services also.
Note:
1. In SMF services all the specified services are divided into different categories and named them as 'milstoned'.
we have different mile stones like network, system, application, multi user mode, single user mode, etc.
2. All the services under SMF are identified with "FMRI" (Fault Management Resource Identifier)
to check the status of the service:
# svcs -a|grep telnet
to disable a service:
# svcadm disable telnet
to enable the service:
#svcadm enable svc:/network/telnet: default
the services under control of svcs are called SMF service, it is under control of user.
SMF services can be different state
1. Degraded: The service is enabe but it is running at a limited capacity
2. Disable: The service which is enabled but not running
3. Maintainace: The service which has encountered with a error that has to be rectified by the admin
4. Offline: the service which is enabled but its not running or not available to run
5. Online: The service which is enabled and has successfully started.
6. Uninitialized: The intial state of the service before the configuration is 'uninitialized'.
to view all the services:
#svcs -a: it will show the disable services also.
Note:
1. In SMF services all the specified services are divided into different categories and named them as 'milstoned'.
we have different mile stones like network, system, application, multi user mode, single user mode, etc.
2. All the services under SMF are identified with "FMRI" (Fault Management Resource Identifier)
to check the status of the service:
# svcs -a|grep telnet
to disable a service:
# svcadm disable telnet
to enable the service:
#svcadm enable svc:/network/telnet: default
No comments:
Post a Comment