Check Your Computer's Temperature


You can check your computer's temperature using only standard tools, with the command:

$ cat /proc/acpi/thermal_zone/*/temperature

Depending on your hardware, you may have more than one sensor.

This method of checking your computer's temperate works only if ACPI thermal zones are supported on your computer. Most laptops and some desktop systems support them.




Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I get to see 0 C

Anonymous's picture

I get to see 0 C


Anonymous's picture

Seems this is the hard way, what about:

acpi -V

I use this all the time as I run xmonad. This gives temp, status, battery %. Add an "f" (acpi -Vf) and you convert to Fahrenheit.


Why not acpi

Cordeo's picture

Matthew wrote: "using only standard tools"

I agree the ACPI tool is useful and easy but unfortunately it is not standard on all systems.

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
On Demand
Moderated by Linux Journal Contributor Mike Diehl

Sign up and watch now

Sponsored by Skybot