Building a Beowulf Cluster/Profiling and Benchmarking/Temperature control

From Wikibooks, open books for an open world
Jump to navigation Jump to search

How to check the CPU temperature?

> cat /proc/acpi/thermal_zone/THRM/temperature

(you might have different THRM directories for your cores)

If this doesn't work or you want more information, install sensors (in fedora: yum install sensors). You install it by sensors-detect and sensors then prints you information.

> sensors
...
Adapter: ISA adapter
Core 0: +67.0°C (high = +82.0°C, crit = +100.0°C) 

coretemp-isa-0001
Adapter: ISA adapter
Core 1: +66.0°C (high = +82.0°C, crit = +100.0°C) 

coretemp-isa-0002
Adapter: ISA adapter
Core 2: +61.0°C (high = +82.0°C, crit = +100.0°C) 

coretemp-isa-0003
Adapter: ISA adapter
Core 3: +61.0°C (high = +82.0°C, crit = +100.0°C)