﻿1 getcomponentlogs

   Enables you to view the component logs for a node.

  Syntax

   hpsum getcomponentlogs [--nodes [<nodelist>]] [--component
   <componentname>]

  Parameters

   --nodes [<nodelist>]

           Nodes for this request. If you do not provide a nodelist, all
           nodes in the session are used.

   --component <componentname>

           The name of the component that HP SUM will display the log. If you
           use this parameter, you must enter a component name. If you do not
           specify a component, HP SUM generates logs for all components.

  Windows usage

   C:\> hpsum getcomponentlogs /nodes localhost

  Linux usage

   $ ./hpsum getcomponentlogs --nodes 10.0.1.1 --component cp020024.exe

  Return codes

   SUCCESS_NO_REBOOT

           Windows: 0

           Linux: 0

           Text: The command was successful.

   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_COMMAND_FAILED

           Windows: -4

           Linux: 252

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