This section describes how to use the HWdiag command line.
HWdiag commands use the form hwdiag main-command [subcommand ...].
For example:
[(restricted_shell) ORACLESP-XXxxXXxxXXxx:~]# hwdiag led get /SYS/MB/P1/MR0/D1/SERVICE HWdiag (Restricted Mode) - Build Number 81018 (May 12 2013 at 00:42:14) LED VALUE ------------------------------------------ /SYS/MB/P1/MR0/D1/SERVICE : off [(restricted_shell) ORACLESP-XXxxXXxxXXxx:~]#
Many subcommands require an additional subcommand to identify the actual device or devices being acted on. This target can be an individual device or all, which represents all the valid targets for the subcommand. In the above example, hwdiag led get /SYS/MB/P1/MR0/D1/SERVICE returns the state of a single LED. If you enter hwdiag led get all, it displays the state of all the system LEDs.
If you enter an incomplete command line, HWdiag displays the syntax for the command and a list of valid subcommands. Use this information to re-enter the command with a complete and valid set of parameters and subcommands.
The following display shows an example.
[(flash)root@ORACLESP-XXxxXXxxXXxx:~]# hwdiag temp
HWdiag - Build Number 81018 (May 12 2013 at 00:42:14)
Syntax: hwdiag temp ...
get [all|<sensor>]
- Display Temperature Sensor Reading
info [all|<sensor>]
- Display Temperature Sensor Information
[(flash)root@ORACLESP-XXxxXXxxXXxx:~]# hwdiag temp get
HWdiag - Build Number 81018 (May 12 2013 at 00:42:14)
Syntax: hwdiag temp get all|<sensor>
Valid Options for Temperature :
ALL /SYS/MB/T_IN_PS
/SYS/MB/P0 /SYS/MB/T_IN_ZONE1
/SYS/MB/P1 /SYS/MB/T_IN_ZONE2
/SYS/MB/P2 /SYS/MB/T_IN_ZONE3
/SYS/MB/P3 /SYS/MB/T_IN_ZONE4
/SYS/MB/T_CORE_NET01 /SYS/MB/T_OUT_SLOT1
/SYS/MB/T_CORE_NET23 /SYS/T_FRONT
[(flash)root@ORACLESP-XXxxXXxxXXxx:~]# hwdiag temp get all
HWdiag - Build Number 81018 (May 12 2013 at 00:42:14)
DEVICE TEMP
-------------------------------------------
/SYS/MB/P0 : 64.00 margin
/SYS/MB/P1 : 64.00 margin
/SYS/MB/P2 : 63.00 margin
/SYS/MB/P3 : 64.00 margin
/SYS/MB/T_CORE_NET01 : 38.75 deg C
/SYS/MB/T_CORE_NET23 : 38.00 deg C
/SYS/MB/T_IN_PS : 26.75 deg C
/SYS/MB/T_IN_ZONE1 : 30.75 deg C
/SYS/MB/T_IN_ZONE2 : 30.75 deg C
/SYS/MB/T_IN_ZONE3 : 29.50 deg C
/SYS/MB/T_IN_ZONE4 : 28.25 deg C
/SYS/MB/T_OUT_SLOT1 : 29.75 deg C
/SYS/T_FRONT : 24.50 deg C
The following table lists the HWdiag commands.
|
|