rfru
Function
The rfru command is used to display the fru information.
Format
rfru frutype Frunum
Parameters
Parameter |
Description |
Value |
---|---|---|
frutype |
Fru type. |
The value is "0", "1", "3", "7", "10", "11", "16", "29", or "31", a hexadecimal value is also supported. where:
NOTE:
This value is only valid in x86 devices integrating disks and controllers.]
|
Frunum |
Number of the fru component whose information is to be obtained. NOTE:
Multiple fru components of the same fru type may exist in the environment. If the value of Frunum is greater than the actual number of fru components, no information will be displayed. |
This parameter can be obtained by querying the FRU quantity in the system. A hexadecimal value is also supported. |
Modes
serial port mode
Usage Guidelines
None
Example
Run the "rfru 0 0" command to display the information about fru whose frutype and Frunum are both 0.
PANGEA_SES: > rfru 0 0
**********************FRU (type= 0, ID = 0) INFO*****************
device_access_addr: 0x22
i2c id : 0x1
eeprom1 Addr : 0x0
eeprom2 Addr : 0x0
switch0 Addr : 0x71
switch1 Addr : 0x0
switchChnne : 0x8
alarm_threshold: 0xa
monitor_period : 0x3
ucAlarmStatus: 0x0
ucAbnormalTimes: 0x0
machine Status : 0x0
PCB version : A
**************************FRUEND************************************
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
device_access_addr |
IIC address of the FRU component. |
i2c id |
IIC bus ID of the FRU. |
eeprom1 Addr |
IIC address of EEPROM1 on FRU. |
eeprom2 Addr |
IIC address of EEPROM2 on FRU. |
switch0 Addr |
Address of IIC expander 0. |
switch1 Addr |
Address of IIC expander 1. |
switchChnne |
Channel of the IIC expander. |
alarm_threshold |
Exception threshold for alarming. When the times of exceptions reach the threshold, an alarm will be generated. |
monitor_period |
Routine test period. |
ucAlarmStatus |
FRU alarm status. |
ucAbnormalTimes |
Number of times when FRU exceptions occur. |
machine Status |
Running status of FRU. 0x0: removed. 0x1: inserted. 0x2: inactive state. 0x3: requesting for activation. 0x4: activating. 0x5: activated. 0x9: upgrading. |
PCB version |
PCB version of FRU. |