Read Raspberry Pi Core Temperature Voltage and Clock

MyTemp=`/opt/vc/bin/vcgencmd measure_temp | cut -d"=" -f2`
echo ${MyTemp%\'*}

Temperature:

vcgencmd measure_temp

Voltage:

vcgencmd measure_volts

Clock:

vcgencmd measure_clock arm

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.