Get the temperature of Omni-Path ASIC

来源:互联网 发布:redis安装 windows 编辑:程序博客网 时间:2024/05/22 00:50

You can read the current temperature of the ASIC in Celsius from the tempsense sysfs variable.

To do so, just read the following file from sysfs: /sys/class/infiniband/hfi1_0/tempsense.

You will get this kind of output:

[root@OPA-KNL-mtl1 ~]# cat /sys/class/infiniband/hfi1_0/tempsense
51.50 0.00 105.00 105.00 0 0 0

Where the first number is the current temperature reported by the ASIC sensor. All values are in degrees Celsius. The other values are limits that are being programmed in case of overheating of the chip.

原创粉丝点击