Sun Microsystems V20Z Server User Manual


 
Appendix D Inventory Commands 119
Return Codes
TABLE D-3 lists the return codes for this subcommand.
Inventory Get Hardware Subcommand
Description: Returns detailed information for all field-replaceable hardware
components. By default, the name, type, OEM, manufacture date, hardware revision
and part number display for each component.
Format
Command format:
inventory get hardware {-v | --verbose} [{-H | --noheader}]
[{-D | --delim <DELIMITER>}]
TABLE D-4 lists the arguments for this subcommand.
TABLE D-3 Return Codes for Subcommand inventory compare versions
Return Code ID Description
NWSE_Success 0 Command successfully completed.
NWSE_InvalidUsage 1 Invalid usage: bad parameter usage, conflicting
options specified.
NWSE_RPCTimeout 2 Request was issued, but was not serviced by the
server. RPC procedure timed out and the request
may or may not have been serviced by the server.
NWSE_RPCNotConnected 3 Unable to connect to the RPC server.
TABLE D-4 Arguments for Subcommand inventory get hardware
Arguments Description
{ -v | --verbose } Displays all columns.
{ -H | --noheader } Suppresses column headings.
{ -D | --delim } Delimits columns with the specified delimiter. Headings are
also delimited unless suppressed. The delimiter can be any
character or string.