Page 1 of 1

Reading the GPU core temperature

Posted: Wed Mar 23, 2022 9:59 pm
by FeodorF

@BarryK, as my Nvidea graphics card is a passive one (w/o fan) I was really interested in the GPU temperature while running EasyOS 3.4.3 .

This little shell script will tell me the temperature right away.

#!/bin/bash
echo $(cat /sys/devices/pci0000:00/0000:00:01.0/0000:06:00.0/hwmon/hwmon1/temp1_input|awk '{print $0/1000 "°C"}')

You can use 'pfind' with 'hwmon*' to find the path to the GPU core data file of your graphics card if available.

Run this script in the console and you will know the temperature.

GPUtemperature.png
GPUtemperature.png (2.32 KiB) Viewed 491 times