Using hpdiscovery, Hpdiscovery command-line syntax, Hpdiscovery command-line arguments – HP Scripting Toolkit for Linux 9.60 User Manual
Page 27: Hpdiscovery return codes, Hpdiscovery command-line examples

Using HPDISCOVERY
HPDISCOVERY provides an inventory of the server being configured and must run on each deployed
server. HPDISCOVERY is executed by the server configuration script and captures the following
information:
•
System ID (This field is not supported on 100 series servers)
•
System name
•
ROM information
•
Processor information
•
NIC information
•
PCI devices present in the system
•
HP Smart Array controller information
User process decisions can be made based on data that is in the file created by this utility.
NOTE:
Information may not be as detailed on HP ProLiant 100 series servers.
HPDISCOVERY command-line syntax
hpdiscovery [-f filename] [-h]
HPDISCOVERY command-line arguments
Description
Command-line argument
File name of the output file. Defaults to standard out.
-f filename
File name of the configuration file. Defaults to /etc/
hpdiscovery.conf
.
-c config_file
This argument displays help information.
-h
HPDISCOVERY return codes
Meaning
Value
The command was completed successfully. A usage
message might appear.
0
The command contained an invalid parameter.
1
Missing plug-in file
2
Failure to save XML file.
3
Failure to load plug-in.
4
HPDISCOVERY command-line examples
Description
Command-line argument
This command generates the file hpdiscovery.xml in the
/toolkit directory.
hpdiscovery -f /toolkit/hpdiscovery.xml
Using HPDISCOVERY
27