Command Central 10.15 | Using the Command Line Interface | Inventory Commands | sagcc list inventory components attributes
 
sagcc list inventory components attributes
Lists all search attributes for a run-time component.
Syntax
*Command Central syntax:
sagcc list inventory components attributes  node_alias componentid  [options]      
*Not supported on Platform Manager.
Arguments and Options
Argument or Option
Description
node_alias
Required. Specifies the alias name of the installation for which you want to list component information.
You can view a list of installations and their aliases using sagcc list landscape nodes.
componentid
Required. Specifies the ID of the run-time component for which you want to list the existing search attributes.
You can determine the IDs for run-time components using sagcc list inventory components.
[options]
Optional. The command supports all options supported by Command Central. For a description of the options, see Common Options.
Examples When Executing on Platform Manager
*To list all search attributes for the run-time component that has the component ID “OSGI-SPM” and is installed on the installation with the alias name “sag01”:
sagcc list inventory components attributes sag01 OSGI-SPM  --password secret
*To list all search attributes for the run-time component that has the component ID “OSGI-CCE” and is installed on the installation with the alias name “sag01”:
sagcc list inventory components attributes sag01 OSGI-CCE           
-f xml -o attributes.xml  --password secret
The command writes the output to the attributes.xml file. You can create or update search attributes for a run-time component in the attribute.xml file using the create or update inventory attributes commands, For example, to update the attributes in the attributes.xml file:
sagcc update inventory conponents attributes node_alias  componentid -i attributes.xml
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.