Sun Microsystems V40Z Server User Manual


 
120 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide May, 2004
To obtain the board revision, product ID and PRS revision, you can run the
following commands:
inventory get hardware -D '|' | awk -F '|' '/PRS/{print $8}'
inventory get hardware -D '|' | awk -F '|' '/PRS/{print $7}' |
awk '{print $4}'
inventory get hardware -D '|' | awk -F '|' '/PRS/{print $6}'
You can also obtain this information by running the sensor get command.
Return Codes
TABLE D-5 lists the return codes for this subcommand.
TABLE D-5 Return Codes for Subcommand inventory get hardware
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.