1 GetResults Enables you to get the results for commands. getresults enables you to get the results for any command executed. You should optionally be able to specify particular nodes. If you do not specify any nodes or baselines, the command uses the set currently selected in the session. 1.1 Syntax hpsum getresults [--nodes [nodelist]][--baselines [baselinelist]] 1.2 Parameters The getresults command provides the following options: +------------------------------------------------------------------------+ | Parameter | Description | |------------------------+-----------------------------------------------| | hpsum | The HP SUM script initiates this action. | |------------------------+-----------------------------------------------| | getresults | The command to get the results from one or | | | more commands issued to the engine. | |------------------------+-----------------------------------------------| | | A list of the node IDs on which to perform | | --nodes (n) [nodelist] | the abort operation. If you do not provide a | | | nodelist, all nodes in the session are used. | |------------------------+-----------------------------------------------| | --baselines(b) | The baselines to query for results. If you do | | [baselinelist] | not provide a list of baselines, all | | | baselines in the session are used. | +------------------------------------------------------------------------+ 1.3 Return codes +------------------------------------------------------------------------+ | Return Code | Windows | Linux | Text | |------------------------+---------+-------+-----------------------------| | SUCCESS_NO_REBOOT | 0 | 0 | The command was successful. | |------------------------+---------+-------+-----------------------------| | FAILURE_GENERAL | -1 | 255 | A general failure occurred. | | | | | For details, see the logs. | |------------------------+---------+-------+-----------------------------| | | | | A bad input parameter was | | FAILURE_BAD_PARM | -2 | 254 | encountered. For details, | | | | | see the logs. | |------------------------+---------+-------+-----------------------------| | FAILURE_COMMAND_FAILED | -4 | 252 | The command failed. For | | | | | details, see the logs. | +------------------------------------------------------------------------+ 1.4 Example Windows sample command line C:\> hpsum getresults /nodes t1 t2 T1 - 15 succeeded, 0 failed Comp1 - success. T2 - 0 succeeded, 0 failed Linux/HP-UX sample command line $ hpsum getresults --nodes t1 T1 - 15 succeeded, 0 failed Comp1 - success. Comp2 success.