﻿ 	 
getresults
実行したコマンドの結果を取得できます。特定のノードを指定できます。ノードまたはベースラインを指定しない場合、コマンドはセッションで現在選択されているセットを使用します。

構文

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

パラメーター

--nodes (n) [nodelist]
getresultsコマンドを実行するノードIDのリスト。

--baselines(b) [baselinelist]
結果をクエリするベースライン。ベースラインリストを指定しない場合、セッションのすべてのベースラインが使用されます。

Windowsでの使用法

C:\> smartupdate getresults /nodes t1 t2

T1 - 15 succeeded, 0 failed

Comp1 - success.

T2 - 0 succeeded, 0 failed

Linuxでの使用法

$ ./smartupdate getresults --nodes t1

T1 - 15 succeeded, 0 failed

Comp1 - success.

Comp2 success.

リターンコード
SUCCESS_NO_REBOOT
Windows: 0

Linux：0

テキスト：The command was successful.（コマンドが成功しました。）

SUCCESS_REBOOT
Windows: 1

Linux：1

テキスト：The command was successful but a reboot is required.（コマンドが成功しましたが、再起動が必要です。）

SUCCESS_NOT_REQUIRED
Windows: 3

Linux：3

テキスト：The command completed successfully, but was not required or everything was already current.（コマンドは正常に完了しましたが、コマンドが不要であったか、すべてが最新です。）

FAILURE_GENERAL
Windows: -1

Linux：255

テキスト：A general failure occurred.（一般障害が発生しました。） For details, see the logs.（詳細は、ログを参照してください。）

FAILURE_BAD_PARM
Windows: -2

Linux：254

テキスト：A bad input parameter was encountered.（不正な入力パラメーターが検出されました。） For details, see the logs.（詳細は、ログを参照してください。）

FAILURE_COMPONENT_FAILED
Windows: -3

Linux：253

テキスト：The installation of the component failed.（コンポーネントのインストールに失敗しました。）

FAILURE_COMMAND_FAILED
Windows: -4

Linux：252

テキスト：The command failed.（コマンドが失敗しました。） For details, see the logs.（詳細は、ログを参照してください。）

 	 	 