Wednesday, November 23, 2022

How to check--get the Raspberry Pi CPU temperature simplest way. Use command in terminal.

Type in the terminal:

vcgencmd measure_temp

and you will get result like below:

screenshot - Raspberry Pi - terminal command for get CPU temperature


Or type in the terminal:

cat /sys/class/thermal/thermal_zone0/temp

and you will get result like below:

screenshot - Raspberry Pi - get CPU temperature in terminal command


This is based on the Raspbian or Raspberry Pi OS from Raspberry Pi foundation. So I am not sure about other distro OS.




You can find so many articles out there but I wrote this probably for me. I just don't want to go through all the article for that three letters. It is really simple command.

I'm not native speaker so I might used wrong google search keyword though.


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.