Command Central 10.1 | Command Central Developer Reference | Using the Command Line Interface | Stacks and Layers Commands | sagcc list stacks layers instances compare
 
sagcc list stacks layers instances compare
Compares the run-time instances that belong to a stack layer.
Syntax
*Command Central syntax:
sagcc list stacks stackName layers layerName
instances compare [options]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Description
stackName
Required. The name of the stack for which you want to get information.
layerName
Required. The name of the layer for which you want to get information.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Usage Notes
The command returns the results of the comparison. Each row in the results shows a run-time instance property and information about whether this property matches on all nodes of the layer.
Example
To compare the properties of all run-time components included in the layer with name "layer01" in the stack with name "stack01", managed by the Command Central server with host name “rubicon” and port “8090”, using the password of the default user:
sagcc list stacks stack01 layers layer01 instances compare --format xml
--server http://rubicon:8090/cce --username Administrator --password manage
The example command returns the information in XML format.