Run command on given CPU temp

Post Reply
G0FHM
Posts: 46
Joined: Mon May 14, 2018 8:47 pm

Run command on given CPU temp

Post by G0FHM »

Hi all,

This is probably more of a general Linux question than anything else, but I want to setup a script that uses the dapnet api to send a POCSAG message when the CPU reaches a given temperature.

I've done some googling, and havent really been able to turn much up!

Any advice appreciated!

Thanks,

J
KN2TOD
Posts: 144
Joined: Sun Nov 11, 2018 6:36 pm

Re: Run command on given CPU temp

Post by KN2TOD »

Temp in Centigrade:

Code: Select all

cat /sys/class/thermal/thermal_zone0/temp
Post Reply