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-5lists the return codes for this subcommand.

TABLE D-5Return 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.

 

 

 

120 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide • May, 2004

Page 142
Image 142
Sun Microsystems V20Z, V40z manual Return Codes, Table D-5lists the return codes for this subcommand