Previous Topic

Next Topic

HWQUERY command line examples

Command line argument

Description

hwquery hpdiscovery.xml allboards.xml MY_SYS_RAM=TotalRAM

For a hpdiscovery.xml file that contains <TotalRAM>768</TotalRAM>, HWQUERY produces the following:

MY_SYS_RAM=768

hwquery hpdiscovery.xml allboards.xml "TEST=Smart Array"

For a hpdiscovery.xml file that indicates a Smart Array 5i Controller is present, HWQUERY produces the following:

TEST=Smart Array 5i Controller

hwquery hpdiscovery.xml allboards.xml MYRAM=TotalRAM MYROMDATE=ROMDate

For a hpdiscovery.xml file that contains <TotalRAM>768</TotalRAM> and <ROMDate>11/15/2002</ROMDate>, HWQUERY produces the following:

MYRAM=768

MYROMDATE=11/15/2002

hwquery hpdiscovery.xml allboards.xml "TEST=smart array 5i"

Although the controller is present, HWQUERY produces the following:

TEST=

This behavior is correct. The string is case-sensitive, and the argument uses lowercase lettering instead of the uppercase found in the allboards.xml file.

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.