Let dmesg -w run
Let run top to see heavy loads
Let vgencmd
https://medium.com/@kevalpatel2106/monitor-the-core-temperature-of-your-raspberry-pi-3ddfdf82989f
nano monitor-temp.py
import os
import time
def measure_temp():
temp = os.popen("vcgencmd measure_temp").readline()
return (temp.replace("temp=",""))
while True:
print(measure_temp())
time.sleep(1)
python monitor-temp.py
No comments:
Post a Comment