linux cpu temperature

Posted on

Problem :

How can I find out the cpu temperature of my linux desktop?
What does

acpi -t

measure? The man page doesn’t really say more than ‘thermal information’. Judging from ACPI = advanced config and power interface, and the fact that all googles for info about that command brings up forum posts about laptops, I would guess it’s battery temp?
Please help…


Solution :

Type sudo apt-get install lm-sensors (once), then sensors (every time you want to check) in a terminal window.

1) Install the lm-sensors packet: sudo apt-get install lm-sensors

2) Start the sensors detection: sudo sensors-detect

3) In a terminal run sensors to read the sensors data…

Details: lm-sensors packet install these files:

System executables in /sbin (system binaries):


The sensors utility in


The shell scripts in /etc/init.d

/etc/init.d/lm-sensors allow to start, stop or restart the daemon /usr/bin/sensors