Display the status of a service
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The
system services manager status show
command displays the status of system services
that are configured to run in the cluster.
System services run on the nodes of the cluster
based on policies.
Policies determine which versions of a service can run
on the nodes of the cluster.
Use the system services manager policy show
command to view existing policies.
Parameters
- { [-fields <fieldname>, ...]
- If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
- | [-instance ]}
- If you specify the -instance parameter, the command displays detailed information about all fields.
- [-service <text>] - Service
- Selects information about
services that match the service name you specify.
- [-version <service version>] - Version
- Selects information about
services that are configured to run
the version number you specify.
The configured version is the minimum version
that is allowed to run in the cluster
according to a policy.
Use the system services manager policy show
command to view information about service policies.
- [-constituent <text>] - Constituent
- Selects information about
services that have the constituent process you specify.
- [-actual-version <service version>] - Actual Version
- Selects information about
services that are running the version number you specify.
This number can be higher than the configured version
if a more recent version is installed on
the node that is running the service.
- [-node <nodename>] - Node
- Selects information about
services that the services manager
has assigned to run on the nodes you specify.
If the service state is "running",
the service is running on these nodes.
- [-state <svc_state>] - State
- Selects information about
services that are in the state you specify.
- [-is-running {true|false}] - Is Running
- Use this parameter
with the value "true" to select information about
services that are currently running.
Use this parameter
with the value "false" to select information about
services that are not currently running.
Examples
The example below shows typical output for a simple cluster.
cluster1::> system services manager status show
Service Version Constituent Actual Node State
Version
----------------- ------- ----------- ------- ---------------- --------------
diagnosis
1.0 schmd 1.0 cluster1-01 running
1.0 shmd 1.0 cluster1-01 running
2 entries were displayed.