Lists information about a condition and any of its condition/response associations.
To list the link between a condition and one or more responses:
lscondresp [-a | -n] [ -l | -t | -d | -D delimiter ] [-q] [-U] [-x] [-z] [-h] [-TV] [condition[:node_name] [response1 [response2...]]]
To list all of the links to one or more responses:
lscondresp [ -a | -n ] [ -l | -t | -d | -D delimiter] [-q] [-x] [-z] -r [-U] [-h] [-TV] response1[:node_name] [response2...]
Field | Description |
---|---|
Condition | The name of the condition linked with a response. |
Response | The name of the response linked with the condition. |
State | The state of the response for the condition. The state indicates whether a specified response is active or not. |
Node | The location of the condition and the response. |
Locked | Indicates whether the resource is locked or unlocked. |
To list a particular condition and response, specify both the condition and the response. To list all responses to a condition, specify the condition only. To list all conditions to which a response is linked, specify the response and the -r flag. To list all conditions and their linked responses, do not specify any condition or response parameters.
Specifying a node name limits the display to the condition/response associations that are defined on that node. List all of the condition/response associations on a node by specifying a colon (:) followed by the node name. The node name is a node within the management scope determined by the CT_MANAGEMENT_SCOPE environment variable. The management scope determines the list of nodes from which the condition/response associations are listed. For local scope, only condition/response associations on the local node are listed. For management domain scope and peer domain scope, the condition/response associations from all nodes within the domain are listed.
When neither the -a flag nor the -n flag is specified, all selected conditions for the responses are listed. Tabular format is the default.
The user needs read permission for the IBM.Association resource class to run lscondresp. Permissions are specified in the access control list (ACL) file on the contacted system. See the RSCT: Administration Guide for details on the ACL file and how to modify it.
If this environment variable is not set, local scope is used.
This command is part of the Reliable Scalable Cluster Technology (RSCT) fileset for AIX®.
When the -h flag is specified, this command's usage statement is written to standard output. All verbose messages are written to standard output.
All trace messages are written to standard error.
lscondresp -U
The output
will look like this: Condition Response Node State Locked
"/tmp space used" "E-mail root off-shift" "nodeA" "Not active" "Yes"
"Page space in rate" "E-mail root anytime" "nodeA" "Not active" "No"
lscondresp
The output will look like this:
Condition Response Node State
"FileSystem space used" "Broadcast event on-shift" "nodeA" "Active"
"FileSystem space used "E-mail root anytime" "nodeA" "Not Active"
"Page in Rate" "Log event anytime" "nodeA" "Active"
lscondresp "FileSystem space used"
The output will look like this: Condition Response Node State
"FileSystem space used" "Broadcast event on-shift" "nodeA" "Active"
"FileSystem space used "E-mail root anytime" "nodeA" "Not Active"
lscondresp -a "FileSystem space used"
The
output will look like this: Condition Response Node State
"FileSystem space used" "Broadcast event on-shift" "nodeA" "Active"
lscondresp "FileSystem space used" "Broadcast event on-shift"
The
output will look like this: Condition Response Node State
"FileSystem space used" "Broadcast event on-shift" "nodeA" "Active"
lscondresp space
The
output will look like this: Condition Response Node State
"FileSystem space used" "Broadcast event on-shift" "nodeA" "Active"
"FileSystem space used "E-mail root anytime" "nodeA" "Not Active"
lscondresp "FileSystem space used"
The
output will look like this: Condition Response Node State
"FileSystem space used" "Broadcast event on-shift" "nodeB" "Active"
"FileSystem space used" "E-mail root anytime" "nodeB" "Not Active"
lscondresp "FileSystem space used":nodeC
The output will look like this: Condition Response Node State
"FileSystem space used" "Broadcast event on-shift" "nodeC" "Active"
"FileSystem space used" "E-mail root anytime" "nodeC" "Not Active"
lscondresp "FileSystem space used"
The
output will look like this: Condition Response Node State
"FileSystem space used" "Broadcast event on-shift" "nodeD" "Active"
"FileSystem space used" "E-mail root anytime" "nodeD" "Not Active"
"FileSystem space used" "Broadcast event on-shift" "nodeE" "Active"
"FileSystem space used" "E-mail root anytime" "nodeE" "Not Active"