You can find out the temperature of the GPU and ARM CPU on a Raspberry Pi running Linux by using the vcgencmd
command.
To display the GPU temperature:
vcgencmd measure_temp
To display the ARM CPU temperature:
cat /sys/class/thermal/thermal_zone0/temp
The output will be in Celsius. To convert to Fahrenheit, multiply the temperature by 9/5, and add 32.