﻿1 GetNeededUpdates

     ----------------------------------------------------------------------

   getneededupdatesを使用すると、コマンドの一部として渡される現在の選択また
   は項目のいずれかの状態に基づいて、必要なアップデートの詳細を表示できま
   す。ノードを指定しない場合、コマンドはセッションで現在選択されているノー
   ドを使用します。

  1.1 構文

   hpsum getneededupdates [--nodes [<nodelist>]]

  1.2 パラメーター

   getneededupdatesコマンドには次のオプションがあります。

   +------------------------------------------------------------------------+
   | パラメーター         | 説明                                            |
   |----------------------+-------------------------------------------------|
   | hpsum                | HP SUMスクリプトがこのアクションを開始します。  |
   |----------------------+-------------------------------------------------|
   | getneededupdates     | 必要なアップデートを表示するコマンド。          |
   |----------------------+-------------------------------------------------|
   |                      | 必要なアップデート操作のチェックを実行するノード|
   | --nodes [<nodelist>] | のリスト。                                      |
   |                      | ノードリストを指定しない場合、セッションのすべて|
   |                      | のノードが使用されます。                        |
   +------------------------------------------------------------------------+

  1.3 リターンコード

   +------------------------------------------------------------------------+
   | リターンコード         | Windows | Linux | テキスト                    |
   |------------------------+---------+-------+-----------------------------|
   | 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 例

    Windowsのサンプルのコマンドライン

   C:\> hpsum getneededupdates /nodes localhost

    Linux/HP-UXのサンプルのコマンドライン

   $ hpsum getneededupdates --nodes localhost
