﻿1 GetLogs

   getlogs launches the GatherLogs function for HP SUM, which collects all
   logs into a compressed file. By default, HP SUM saves the log files in one
   of the following locations:

     o Windows

          o C:\cpqsystem\log

          o C:\cpqsystem\hp\log

          o C:\Windows\Temp\HPSUM

          o %temp%\HPSUM

     o Linux

          o /var/hp/log

          o /var/cpq/log

          o /tmp/HPSUM

  1.1 Syntax

   hpsum getlogs

  1.2 Parameters

   The getlogs command provides the following options:

   +--------------------------------------------------------+
   | Parameter | Description                                |
   |-----------+--------------------------------------------|
   | hpsum     | The HP SUM script initiates this action.   |
   |-----------+--------------------------------------------|
   | getlogs   | The command to get the current trace logs. |
   +--------------------------------------------------------+

  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 getlogs

    Linux sample command line

   $ ./hpsum getlogs
