﻿1 GetAttributes

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

   Enables you to show attributes for parts of the select nodes

   getattributes enables you to view any of the attributes for the selected
   node. You can change attributes using the SetAttributtes command.

  1.1 Syntax

   hpsum getattributes

  1.2 Parameters

   The getattributes command provides the following options:

   +------------------------------------------------------------------------+
   | Option             | Description                                       |
   |--------------------+---------------------------------------------------|
   | HPSUM              | The HP SUM script initiates this action.          |
   |--------------------+---------------------------------------------------|
   | getattributes      | The command to show attributes for the selected   |
   |                    | nodes.                                            |
   |--------------------+---------------------------------------------------|
   |                    | A list of the nodes for which to get the          |
   | --nodes [nodelist] | attributes. If you do not specify a nodelist, all |
   |                    | nodes in the session are shown.                   |
   +------------------------------------------------------------------------+

  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 getattributes /nodes localhost

    Linus/HP-UX sample command line

   $ hpsum getattributes --nodes localhost
