Continuous monitoring of CPU and GPU temp of Raspberry pi 3

Опубликовано: 30 Март 2026
на канале: Fault Tolerant
288
5

In this video tutorial, i am going to show you how to monitor the temperature of raspberry Pi 3 or 2 using putty on a remote shell.

#!/bin/bash
Script: raspitemp.sh
Purpose: Display the Raspberry Pi CPU and GPU temperature of Raspberry Pi 2/3
Author: Shafi - www.shafis.in under GPL v2.x+
-------------------------------------------------------
cpu=$(/sys/class/thermal/thermal_zone0/temp)
echo "$(date) @ $(hostname)"
echo "-------------------------------------------"
echo "GPU = $(/opt/vc/bin/vcgencmd measure_temp)"
echo "CPU = $((cpu/1000))'C"

************************************************
Island by MBB   / mbbofficial  
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
http://creativecommons.org/licenses/b...
Music promoted by Audio Library    • Island – MBB (No Copyright Music)  
*****************************************************

More Details at my website :
http://shafis.in/automation/continues...