getdscfg
Use the getdscfg command to list the current value of a property from the property file for the Device server. You must have Administrator authority to use this command.
Syntax
- -user user_name
- Specifies an IBM Spectrum Control user ID.
- -pwd password
- Specifies the password for the IBM Spectrum Control user ID.
- -url url
- Specifies the Device server. The format of the URL is system:port_number, where system represents either the host name or IP address, and port_number represents the IBM Spectrum Control Device server port.
- -property property_key
- Specifies the property key. The property_key variable is the property key.
- -context context
- Specifies a classification or category for a configuration property. The
context variable is the context properties. For example, The following parameter
applies to the IBM
Spectrum Control Device server
only.
The following parameter applies to the IBM Spectrum Control performance manager only.-context DeviceServer
-context PerformanceManager
- -fs character
- Specifies the 7-bit character that separates the information in the output. If you omit this parameter, the information is separated by blank spaces.
- -header
- Suppresses the column headings in the output. If you omit this parameter, the column headings are included.
- -help | -h | -?
- Lists help information for the command.
- -qs character
- Specifies the 7-bit character that surrounds character strings and date stamps in the output. If you omit this parameter, character strings and date stamps are enclosed by double quotation marks (").
- -silent
- Suppresses all output for the command. If you omit this parameter, output is included.
Example: Listing a property value
The following command lists the value of the SnmpRetryCount property:
tpctool> getdscfg -url localhost:9550 -user ***** -pwd ***** -property
SnmpRetryCount -context DeviceServer
The following output is
returned:
Property Context Value
=================================
SnmpRetryCount DeviceServer 3