﻿1 GetBaselines

   getbaselines enables you to show the list of the baselines in the current
   HP SUM session.

  1.1 Syntax

   hpsum getbaselines [<baselinelist>] [--details] [--list hp.com]

  1.2 Parameters

   The getbaselines command provides the following options:

   +------------------------------------------------------------------------+
   | Parameter                | Description                                 |
   |--------------------------+---------------------------------------------|
   | hpsum                    | The HP SUM script initiates this action.    |
   |--------------------------+---------------------------------------------|
   | getbaselines             | The command shows the baselines in the      |
   |                          | current HP SUM session.                     |
   |--------------------------+---------------------------------------------|
   |                          | Baseline location to use for performing the |
   | baselinelist [--details] | operation. Specify --details to get         |
   |                          | detailed baseline information.              |
   |--------------------------+---------------------------------------------|
   | --list hp.com            | This parameter retrieves the list of        |
   |                          | available baselines from ftp.hp.com         |
   +------------------------------------------------------------------------+

  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 getbaselines c:\spp\baseline1 /details

    Linux/HP-UX sample command line

   $ hpsum getbaselines --list hp.com
