01-05-2020, 04:07 AM
I've used the following script, found somewhere on the forums:
#!/bin/bash
cpu=$(cat /sys/class/thermal/thermal_zone0/temp)
gpu=$(cat /sys/class/thermal/thermal_zone1/temp)
echo CPU ${cpu::2}C '|' GPU ${gpu::2}C
#!/bin/bash
cpu=$(cat /sys/class/thermal/thermal_zone0/temp)
gpu=$(cat /sys/class/thermal/thermal_zone1/temp)
echo CPU ${cpu::2}C '|' GPU ${gpu::2}C