Friday, February 20, 2009
Get CPU temperature on Linux (Archlinux)
bash-3.2# pacman -S lm_sensors
bash-3.2# sensors-detect
bash-3.2# modprobe coretemp
bash-3.2# sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +40.0°C (high = +74.0°C, crit = +100.0°C)
coretemp-isa-0001
Adapter: ISA adapter
Core 1: +28.0°C (high = +74.0°C, crit = +100.0°C)
coretemp-isa-0002
Adapter: ISA adapter
Core 2: +37.0°C (high = +74.0°C, crit = +100.0°C)
coretemp-isa-0003
Adapter: ISA adapter
Core 3: +41.0°C (high = +74.0°C, crit = +100.0°C)