Reading the Current Temperature of Raspberry Pi SoC

To measure the Raspberry Pi’s core temperature run the following command in the terminal.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
/opt/vc/bin/vcgencmd measure_temp
/opt/vc/bin/vcgencmd measure_temp
/opt/vc/bin/vcgencmd measure_temp

This is very helpful when putting your Pi into a case as you can make sure it is not getting too hot, especially when over-clocking.