Monitor Raspberry Pi CPU&GPU temperature

This is a small script from to monitor Raspberry Pi CPU&GPU temperature.

# Script:
# Purpose: Display the ARM CPU and GPU  temperature of Raspberry Pi
# Author: Vivek Gite <> under GPL v2.x+
# -------------------------------------------------------
echo "$(date) @ $(hostname)"
echo "-------------------------------------------"
echo "GPU => $(/opt/vc/bin/vcgencmd measure_temp)"
echo "CPU => $((cpu/1000))'C"

Save and close the file. Set permission:

chmod +x

Leave a Reply

Your email address will not be published. Required fields are marked *