Using the Sensors Command

Alveo X3522 User Guide (UG1523)

Document ID
UG1523
Release Date
2023-08-25
Revision
1.4 English

For a formatted view of the sensor values, use the sensors command from the lm_sensors package in your Linux distribution.

Getting the lm_sensors Package

If the lm_sensors package is not already installed:

  • On RHEL or CentOS:
    # yum install lm_sensors
  • On Ubuntu:
    apt-get lm_sensors

Finding Device Names

By default, the sensors command shows sensors for all known devices. By filtering its output you can get a list of its names for all PCI adapters. For example:

$ sensors | grep --before-context=1 --color=never 'Adapter: PCI adapter'
xilinx_efct-pci-0100
Adapter: PCI adapter
--
xilinx_efct-pci-0101
Adapter: PCI adapter
--
xclmgmt_sysmon-pci-0600
Adapter: PCI adapter
--
xilinx_u25_gen3x8-ea_blp_1_mgmt-pci-0600
Adapter: PCI adapter
--
xilinx_u25_gen3x8-ea_blp_1_user-pci-0601
Adapter: PCI adapter

The list includes:

  • Devices for the Ethernet controller on the X3522 card
  • Further devices that are associated with other PCI adapters (if any).

Now identify the name for the Ethernet controller on the X3522 card:

  • Names that start with xilinx_efct (as above) identify devices that use the Solarflare xilinx_efct driver, including the Ethernet controller in the X3522.
  • On some platforms, the name for the Ethernet controller instead starts with its interface name (e.g., enp1s0f0np0).
  • Names usually end with the PCI device and function numbers (e.g.,0100), providing further confirmation.

Getting Output for a Specific Device

Then, to get output for a specific device pass its name to the sensors command. For example, for the Ethernet controller named xilinx_efct-pci-0100:

$ sensors xilinx_efct-pci-0100
xilinx_efct-pci-0100
VCC0V85:          +0.89 V  (min =  +0.00 V, max =  +0.00 V)
VCC1V8:           +1.80 V  (min =  +0.00 V, max =  +0.00 V)
1V2VCCO:          +1.19 V  (min =  +0.00 V, max =  +0.00 V)
1V2AVTT:          +1.20 V  (min =  +0.00 V, max =  +0.00 V)
0V9AVCC:          +0.89 V  (min =  +0.00 V, max =  +0.00 V)
3V3:              +3.29 V  (min =  +0.00 V, max =  +0.00 V)
3V3 CAGES:        +3.36 V  (min =  +0.00 V, max =  +0.00 V)
5V0:              +4.96 V  (min =  +0.00 V, max =  +0.00 V)
12V PCI:         +11.98 V  (min = +11.04 V, max = +12.96 V)
3V3 AUX PCI:      +3.31 V  (min =  +3.00 V, max =  +3.60 V)
3V3 PCI:          +3.31 V  (min =  +3.00 V, max =  +3.60 V)
VCCINT OUT:       +0.90 V  (min =  +0.00 V, max =  +0.00 V)
Tdiode (FPGA):    +59.0°C  (low  =  +0.0°C, high = +88.0°C)
                           (crit = +97.0°C)
Ambient (FPGA):   +44.0°C  (low  =  +0.0°C, high =  +0.0°C)
Ambient (left):   +41.0°C  (low  =  +0.0°C, high = +75.0°C)
                           (crit = +85.0°C)
Ambient (right):  +49.0°C  (low  =  +0.0°C, high = +75.0°C)
                           (crit = +85.0°C)
VCCINT:           +62.0°C  (low  =  +0.0°C, high = +100.0°C)
                           (crit = +110.0°C)
12V PCI:          +1.94 A  (min =  +0.00 A, max =  +5.50 A)
3V3 AUX PCI:      +0.06 A  (min =  +0.00 A, max =  +0.38 A)
3V3 PCI:          +0.49 A  (min =  +0.00 A, max =  +2.10 A)
VCCINT OUT:      +16.50 A  (min =  +0.00 A, max =  +0.00 A)