Command Central 10.15 | Using the Command Line Interface | Inventory Commands | sagcc get inventory products compare
 
sagcc get inventory products compare
Compares the products installed in two or more installations.
Syntax
*Command Central syntax:
sagcc get inventory products compare nodeAlias=alias1 nodeAlias=alias2                 
[nodeAlias=alias3 ... nodeAlias=aliasn]  [options]
                 
 options:                  
[{--accept | -a} content_type]                  
[{--debug | -d}]                  
[{--error | -r} file]                  
[{--format | -f} {tsv args | xml | csv args | json}]                  
[{--log | -l} file]                  
[{--output | -o} file]                  
[{--password | -p} password]                  
[{--quiet | -q}]                  
[{--server | -s} url]]                  
[{--username | -u} user_name]
*Not supported by Platform Manager.
Arguments and Options
Argument or Option
Description

nodeAlias=alias1

nodeAlias=alias2
[nodeAlias=alias3

 ...

nodeAlias=aliasn]
Required. Specifies the alias names of two or more installations that you want to compare.
You can view a list of installations and their aliases using sagcc list landscape nodes.
[options]
Optional. Refer to the command syntax for a list of the options the command supports. For a description of the options, see Common Options.
Usage Notes
*The command returns the results of the comparison.
Example When Executing on Command Central
To execute a command on the Command Central server with host name “rubicon” and port “8090” to compare the products installed in the installations with alias names “sag01” and “sag02” and have the output returned to the console in XML format:
sagcc get inventory products compare nodeAlias=sag01 nodeAlias=sag02                
--server http://rubicon:8090/cce --format xml --password secret
Because the {--username | -u} option is not specified, the command uses the default user name. For more information, see username. The command specifies “secret” for the user’s password.