Display CPU Temperature on Raspberry Pi

You can display the current cpu-temperature with the following command:

[tux@server]$ sudo vcgencmd measure_temp

If you get VCHI initialization failed you need to execute the command with sudo or as root. Otherwise you do not have sufficient privileges.

profile picture of the author

Jannik Rehkemper

I'm an professional Linux Administrator and Hobby Programmer. My training as an IT-Professional started in 2019 and ended in 2022. Since 2023 I'm working as an Linux Administrator.