How to monitor temperatures of laptop on Linux

Posted on In QA

How to monitor temperatures of laptop on Linux?

This works on Linux Mint:

sudo aptitude install lm-sensors hddtemp

For lm-sensors, first detect the sensors by:

sudo sensors-detect

To detect the temperature in the system:

sudo sensors

To detect the HDD (e.g. sda) temperature:

sudo hddtemp /dev/sda

An example of the output:

[zma@mini:~]$ sudo sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +69.0°C  (crit = +100.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +51.0°C  (crit = +90.0°C)

[zma@mini:~]$ sudo hddtemp /dev/sda
/dev/sda: WDC WD1600BEVT-60ZCT1: 49°C

Note that on Fedora 22, the packages are named:

lm_sensors hddtemp

for checking the sensor degrees.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *