1 Configure

   ʹ configure ʾ׼е
   á

  1.1 ﷨

   hpsum configure --export baseline=<baselinename> dir=<directoryname>
   [component=<componentname> includeCredentials=true|false>]

   hpsum configure --import baseline=<baselinename> dir=<directoryname>
   [component=<componentname>]

   hpsum configure --show baseline=<baselinename> [component=<componentname>

  1.2 

   configure ṩѡ

   +------------------------------------------------------------------------+
   |                        | ˵                          |
   |---------------------------------+--------------------------------------|
   | hpsum                           | HP SUM ű     |
   |                                 |                               |
   |---------------------------------+--------------------------------------|
   | configure                       |  |
   |---------------------------------+--------------------------------------|
   |                                 | ˲     |
   | /export                         | õָ        |
   |                                 | Ŀ¼                           |
   |---------------------------------+--------------------------------------|
   |                                 | ˲ָ     |
   | /import                         | Ŀ¼       |
   |                                 | á                           |
   |---------------------------------+--------------------------------------|
   |                                 | ˲Ϊ׼е          |
   | /show                           | ʾ  |
   |                                 | ѡ        |
   |---------------------------------+--------------------------------------|
   |                                 | ʹô˲ָ    |
   | baseline=<baselinename>         | Ҫ롢 |
   |                                 | ʾĻ׼ |
   |---------------------------------+--------------------------------------|
   |                                 | ʹô˲ָ    |
   | dir=<directoryname>             | ڵ   |
   |                                 | õ     |
   |                                 | Ŀ¼    |
   |---------------------------------+--------------------------------------|
   |                                 | һѡ   |
   |                                 | ָҪ롢  |
   |                                 | ʾ  |
   | component=<componentname>       | ơ δָ        |
   |                                 | HP SUM   |
   |                                 | ʾ׼е         |
   |                                 |                             |
   |---------------------------------+--------------------------------------|
   |                                 | һѡ     |
   |                                 | ѡ trueHP SUM  |
   | includeCredentials=<true|false> | ʱ     |
   |                                 | ûƾݡ   |
   |                                 | ĬֵΪ true          |
   +------------------------------------------------------------------------+

  1.3 ش

   +------------------------------------------------------------------------+
   | ش | Windows | Linux | ı                                   |
   |-------------+---------+-------+----------------------------------------|
   |             |         |       |  HP SUM ɹ    |
   | Success     | 0       | 0     | ʾ      |
   |             |         |       | ã򷵻ش˴롣               |
   |-------------+---------+-------+----------------------------------------|
   |             |         |       |  HP SUM δ       |
   | Failure     | -1      | 255   | ʾ         |
   |             |         |       | ã򷵻ش˴롣               |
   +------------------------------------------------------------------------+

  1.4 ʾ

    Windows

   C:\>hpsum configure /import baseline=C:\spp.2012.01 dir=C:\Components

   ڴʾУC:\Components Ŀ¼µ
    C:\spp.2012.01 ׼ýص HP
   SUM

   C:\>hpsum configure /import baseline=C:\spp.2012.01
   dir=C:\Components\cp022423_conf component=cp022423.exe

   ڴʾУHP SUM  C:\Components Ŀ¼
   C:\spp.2012.01 ׼ cp022423.exe 
   á

   C:\>hpsum configure /show baseline=C:\spp.2012.01

   ڴʾУHP SUM ʾ C:\spp.2012.01 ׼е
   á

    Linux

   $ ./hpsum configure --export baseline=/root/SPP.2012.01
   dir=/root/Components

   ڴʾУHP SUM Ὣ /root/SPP.2012.01 ׼е
    /root/Components Ŀ¼

   $ ./hpsum configure --export baseline=/root/SPP.2012.01
   dir=/root/Components component=hp-snmp-agents-10.10-2657.7.rhel6.i686.rpm
   includeCredentials=false

   ڴʾУHP SUM  /root/Components Ŀ¼
   /root/SPP.2012.01 ׼ hp-snmp-agents-10.10-2657.7.rhel6.i686.rpm
   á ڴʾ HP SUM 
   ƾݡ

   $ ./hpsum configure --show baseline=/root/SPP.2012.01
   component=hp-snmp-agents-10.10-2657.7.rhel6.i686.rpm

   ڴʾУHP SUM ʾ
   /root/SPP.2012.01 ׼ hp-snmp-agents-10.10-2657.7.rhel6.i686.rpm
   á
