Command Central 10.5 | Using the Command Line Interface | Inventory Commands | sagcc get inventory fixes
 
sagcc get inventory fixes
Retrieves information about a specified fix. Information about a fix can include:
*Fix ID
*Fix name
*Version of the fix
*Product to which the fix is applied
*The date and time when the fix was installed
Syntax
*Command Central syntax:
sagcc get inventory fixes  nodeAlias fixId  [options]
*Platform Manager syntax:
sagcc get inventory fixes  fixId  [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]
Arguments and Options
Argument or Option
Description
[nodeAlias]
Command Central only.
Required. Specifies the alias name of the installation for which you want to retrieve fix information. If you do not specify an alias name, the command lists all fixes in all installations that Command Central manages.
You can view a list of installations and their aliases using sagcc list landscape nodes.
fixId
Required. Specifies the fix ID of the fix for which you want to retrieve product information.
You can determine the IDs for fixes using sagcc list inventory fixes.
[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.
Example When Executing on Command Central
To execute a command on the Command Central server with host name “rubicon” and port “8090” to retrieve information for the fix that has the ID “wMFix.CCE.Fix1” and is installed on the installation with the alias name “sag01”, and have the output returned to the console in JavaScript Object Notation format:
sagcc get inventory fixes sag01 wMFix.CCE.Fix1 --server http://rubicon:8090/cce                
--format json --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.
Example When Executing on Platform Manager
To retrieve information for the fix that has the ID “wMFix.CCE.Fix1” and is managed by the Platform Manager with host name “rubicon2” and port “8092”, and have the output returned to the console in XML format:
sagcc get inventory products wMFix.CCE.Fix1 --server http://rubicon2:8092/spm                
--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.