Get overrides (optimcmd -override)

Use the Get overrides command to get a list of the parameters that are used by a specific service. By default, the command returns only the names of the parameters. You can optionally specify that the current saved value of each parameter is to be returned immediately after the parameter name.

Command structure

The following diagram indicates the structure of the command and its parameters.

Read syntax diagramSkip visual syntax diagram
>>-optimcmd--+- -override-+--serviceid--+--------------------+-><
             '- -o--------'             |             .- --. |   
                                        '-+-values-+--+-+--+-'   
                                          '-v------'             

Input

The following information can be entered with the command.

optimcmd
The optimcmd tool.
-override or -o
The Get overrides command.
serviceid
The service ID for the service whose overrides or parameters you want to view.
values or v
The values parameter for the Get overrides command.
- or +
The operator that indicates whether to return the current value of each override or parameter.

Output

The output depends on whether you specify values+ or v+.
  • If you specify values+ or v+, the command returns a list of overrides or parameters. Each line contains the name of a parameter, a space, and the current value of the parameter.
  • If you do not specify values+ or v+, the command returns a list of overrides or parameters, with each parameter on its own line.

Return codes

The following return codes can be received when you enter the command.

Return code Description
0 No errors.
4 The specified service ID was not found.
12 The command cannot connect with the connection manager. The connection manager is not active or there is no active network connection between the computer and the connection manager computer.


Feedback