Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
SmartSetup Scripting Toolkit Deployment Guide: HP Integrity Servers with Linux > Chapter 6 Utilities Reference

hwdisc

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

Synopsis

hwdisc -f[path]filename

Description

The hwdisc utility provides an inventory of the server being configured or captured. The hwdisc utility is executed by the server configuration script and captures the following information:

  • System Name

  • Serial Number

  • Asset Tag

  • EFI Firmware version

  • BMC Firmware version

  • MP Firmware version

  • Number of Cells

  • Total RAM size

  • Number of Processors

  • PCI devices present in the system

Table 6-18 Options

Command Line Input

Result

-f

This argument specifies the location and name of the hwdisc data file. If [path] is unspecified, the utility assumes that filename is in the current working directory. If no file is specified, the utility generates a file in the current directory utilizing the default name hwdisc.dat.

hwdisc -f/mnt/data/hwdisc.xml

This command generates the file hwdisc.xml in the /mnt/data location.

hwdisc

This command generates the file hwdisc.dat in the current directory.

 

Example

hwdisc –f/mnt/data/hwdisc.xml

This command generates the file hwdisc.xml in the /mnt/data location.

A typical file generated by the hwdisc command is similar to the following:

<!-- generated by Linux hwdisc for IPF version 2.01 -->
<HWDiscovery Version="1.0">
	<ServerInformation>
		<SystemName>server rx2600</SystemName>
		<SerialNumber>US21729947</SerialNumber>
		<AssetTag> </AssetTag>
		<EFIFw>1.22</EFIFw>
		<BMCFw>1.53</BMCFw>
		<MPFw>E.03.15</MPFw>
		<Cells>0</Cells>
		<RAM>1998</RAM>
		<Processors>2</Processors>
		<PCIDevices>
			<PCIDevice num="0">
				<Bus>0</Bus>
				<Device>1</Device>
				<Function>0</Function>
				<Id>10330035</Id>
				<SubId>10330035</SubId>
			</PCIDevice>
			<PCIDevice num="1">
				<Bus>0</Bus>
				<Device>1</Device>
				<Function>1</Function>
				<Id>10330035</Id>
				<SubId>10330035</SubId>
			</PCIDevice>
			<PCIDevice num="2">
				<Bus>0</Bus>
				<Device>1</Device>
				<Function>2</Function>
				<Id>103300E0</Id>
				<SubId>103300E0</SubId>
			</PCIDevice>
			<PCIDevice num="3">
				<Bus>0</Bus>
				<Device>2</Device>
				<Function>0</Function>
				<Id>10950649</Id>
				<SubId>10950649</SubId>
			</PCIDevice>
			<PCIDevice num="4">
				<Bus>0</Bus>
				<Device>3</Device>
				<Function>0</Function>
				<Id>80861229</Id>
				<SubId>103C1274</SubId>
			</PCIDevice>
			<PCIDevice num="5">
				<Bus>20</Bus>
				<Device>1</Device>
				<Function>0</Function>
				<Id>10000030</Id>
				<SubId>10001000</SubId>
			</PCIDevice>
			<PCIDevice num="6">
				<Bus>20</Bus>
				<Device>1</Device>
				<Function>1</Function>
				<Id>10000030</Id>
				<SubId>10001000</SubId>
				<DeviceName>/dev/sda</DeviceName>
				<Drive0>
					<Size>34732</Size>
				</Drive0>
			</PCIDevice>
			<PCIDevice num="7">
				<Bus>20</Bus>
				<Device>2</Device>
				<Function>0</Function>
				<Id>14E41645</Id>
				<SubId>103C12A4</SubId>
			</PCIDevice>
			<PCIDevice num="8">
				<Bus>E0</Bus>
				<Device>1</Device>
				<Function>0</Function>
				<Id>103C1290</Id>
				<SubId>103C1291</SubId>
			</PCIDevice>
			<PCIDevice num="9">
				<Bus>E0</Bus>
				<Device>1</Device>
				<Function>1</Function>
				<Id>103C1048</Id>
				<SubId>103C1282</SubId>
			</PCIDevice>
			<PCIDevice num="10">
				<Bus>E0</Bus>
				<Device>2</Device>
				<Function>0</Function>
				<Id>10025159</Id>
				<SubId>103C12AB</SubId>
			</PCIDevice>
		</PCIDevices>
	</ServerInformation>
</HWDiscovery>
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007–2008 Hewlett-Packard Development Company, L.P.