EasyManuals Logo
Home>HP>Software>BL860c

HP BL860c Deployment Guide

HP BL860c
84 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #77 background imageLoading...
Page #77 background image
Table 6-20 hwquery Options (continued)
DescriptionCommand Line Argument
In this argument, variable is the name of an environment variable and <string> is
a PCI device name or the name of an element from the hardware discovery file.
variable=<string>
Arguments must be in quotes if <string> contains spaces. The <string> name is
case-sensitive.
You can specify multiple variable=<string>arguments....
Examples
To produce an hwdisc.xml file that contains <RAM>768</RAM>, use the following input
at the command line:
hwquery hwdisc.xml allboards.xml MY_SYS_RAM=RAM
The hwquery utility produces MY_SYS_RAM=768.
To produce an hwdisc.xml file that indicates a Smart Array 6402 Controller is present, use
the following input at the command line:
hwquery hwdisc.xml allboards.xml "TEST=Smart Array 6402"
The hwquery utility produces TEST=Smart Array 6402 Controller.
The hwquery utility is case-sensitive.
hwquery hwdisc.xml allboards.xml "TEST=smart array 6402"
This command produces TEST=. This behavior is correct even if counter-intuitive. The string
is case-sensitive and the argument uses lowercase instead of the title case in the
allboards.xml file.
To produce an hwdisc.xml file that contains <RAM>768</RAM> and <EFIFw>1.10</
EFIFw>, use the following input at the command line:
hwquery hwdisc.xml allboards.xml MYRAM=RAM MYEFIFW=EFIFw
The hwquery utility produces MYRAM=768and MYEFIFW=1.10.
If the MYRAM environment variable does not exist, this command creates the variable. To set
the value of the <RAM> tag in hwdisc.xml to the MYRAM environment variable use this
command.
export $( hwquery hwdisc.xml allboards.xml MYRAM=RAM )
ifhw
Synopsis
ifhw [path]hwdiscfilename [path]allboards.xml <expression>
Description
The ifhw utility is executed from a script file, in conjunction with other utilities, to control the
install process. The ifhw utility makes intelligent queries against the hardware discovery file.
Queries take the form of a logical expression, and the result of the expression is returned as the
exit status of the tool, which the hosting script can use to conditionally perform actions.
ifhw 77

Table of Contents

Other manuals for HP BL860c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP BL860c and is the answer not in the manual?

HP BL860c Specifications

General IconGeneral
BrandHP
ModelBL860c
CategorySoftware
LanguageEnglish

Related product manuals