Jerry Geis wrote:
/ Is there a way to read the cpu temp from centos?
/
Do you ACPI enabled and on or are you running APM? If you have ACPI on, you can see your CPU temperature from /proc/acpi/thermal_zone/THMO/temperature. There are other useful values in the /proc/acpi/thermal_zone/THMO directory other than just temperature.
Max>
Max,
apcid is running, when I run apm it says "No APM support in kernel"
I am running stock 4.2 with all updates.
Jerry
Am Fr, den 02.12.2005 schrieb Jerry Geis um 14:41:
Max,
apcid is running, when I run apm it says "No APM support in kernel"
Either ACPI or APM can be active.
I am running stock 4.2 with all updates.
ACPI is chosen by default on CentOS' 4.2 kernel 2.6.
Jerry
At least narrowed in the long run comparable values you can get by lm_sensors, if your motherboard has a sensor chip which is supported by that tool. "yum install lm_sensors" and run "sensors-detect".
Alexander
Alexander Dalloz wrote on Fri, 02 Dec 2005 15:36:55 +0100:
At least narrowed in the long run comparable values you can get by lm_sensors, if your motherboard has a sensor chip which is supported by that tool. "yum install lm_sensors" and run "sensors-detect".
Actually, sensors (lm_sensors) gives me mostly bogus values on all machines that I tried it recently, although I ran a successful sensors-detect. The only thing which seems to be correct are fan speeds. voltage and temperature are way off (if they were true the machine wouldn't start up at all or burnt to death). Is there anything I have to do after the sensors-detect run?
Kai
Am Sa, den 03.12.2005 schrieb Kai Schaetzl um 22:31:
Alexander Dalloz wrote on Fri, 02 Dec 2005 15:36:55 +0100:
At least narrowed in the long run comparable values you can get by lm_sensors, if your motherboard has a sensor chip which is supported by that tool. "yum install lm_sensors" and run "sensors-detect".
Actually, sensors (lm_sensors) gives me mostly bogus values on all machines that I tried it recently, although I ran a successful sensors-detect. The only thing which seems to be correct are fan speeds. voltage and temperature are way off (if they were true the machine wouldn't start up at all or burnt to death). Is there anything I have to do after the sensors-detect run?
Kai
You may have to adjust settings in /etc/sensors.conf, depending on the sensors chip the motherboard has. It is too a good idea to read about the sensors chip and its support by lm_sensors on the project's website. Sometimes the chip manufacturer does not provide information about the hardware, so that reverse engineering has been done.
Alexander