This topic describes how to perform a query on resources.
To display a resource's dependencies
- Enter the following command:
# hares -dep resource
Note: |
If you use this command to query atleast resource dependency, the dependency is displayed as a normal 1-to-1 dependency. |
To display information about a resource
- Enter the following command:
# hares -display resource
If resource is not specified, information regarding all resources is displayed.
To display resources of a service group
To display resources of a resource type
To display resources on a system
To display the value of a specific resource attribute
To display atleast resource dependency
- Enter the following command:
# hares -dep -atleast resource
The following is an example of the command output:
#hares -dep -atleast
#Group Parent Child
g1 res1 res2,res3,res5,res6 min=2
g1 res7 res8