getresults
Enables you to get the results for any command executed. You can specify particular nodes. If you do not specify any nodes or baselines, the command uses the set currently selected in the session.

Syntax

smartupdate getresults [--nodes [nodelist]][--baselines [baselinelist]]

Parameters

--nodes (n) [nodelist]
A list of node IDs on which to perform the getresults command.

--baselines(b) [baselinelist]
The baselines to query for results. If you do not provide a list of baselines, all baselines in the session are used.

Windows usage

C:\> smartupdate getresults /nodes t1 t2

T1 - 15 succeeded, 0 failed

Comp1 - success.

T2 - 0 succeeded, 0 failed

Linux usage

$ ./smartupdate getresults --nodes t1

T1 - 15 succeeded, 0 failed

Comp1 - success.

Comp2 success.

Return codes
SUCCESS_NO_REBOOT
Windows: 0

Linux: 0

Text: The command was successful.

SUCCESS_REBOOT
Windows: 1

Linux: 1

Text: The command was successful but a reboot is required.

SUCCESS_NOT_REQUIRED
Windows: 3

Linux: 3

Text: The command completed successfully, but was not required or everything is already current.

FAILURE_GENERAL
Windows: -1

Linux: 255

Text: A general failure occurred. For details, see the logs.

FAILURE_BAD_PARM
Windows: -2

Linux: 254

Text: A bad input parameter was encountered. For details, see the logs.

FAILURE_COMPONENT_FAILED
Windows: -3

Linux: 253

Text: The installation of the component failed.

FAILURE_COMMAND_FAILED
Windows: -4

Linux: 252

Text: The command failed. For details, see the logs.