Re: Is /proc/acpi/thermal_zone/THM0/temperature reliable?



On Mon, 28 Apr 2008 08:45:20 -0700, Yong Huang wrote:

$ uname -a
Linux <hostname> 2.6.9-55.EL #1 SMP Fri Apr 20 16:30:19 EDT 2007 ia64
ia64 ia64 GNU/Linux
$ cat /proc/acpi/thermal_zone/THM0/temperature temperature:
27 C

That looks good. But I've monitored it for a few weeks once per minute
on four servers that have the same hardware. The temperature is always
27C. That makes me wonder if the number is really the actual
measurement. Thanks for any advice.

Other info:

$ cat /proc/cpuinfo
processor : 0
vendor : GenuineIntel
arch : IA-64
family : Itanium 2
model : 2
revision : 1
archrev : 0
features : branchlong
cpu number : 0
cpu regs : 4
cpu MHz : 1600.024824
itc MHz : 1600.024824
BogoMIPS : 2390.75
siblings : 1
[one more CPU omitted here]

# dmidecode
# dmidecode 2.2
# SMBIOS entry point at 0x3ee7c000
SMBIOS 2.3 present.
18 structures occupying 1168 bytes.
Table at 0x3EE7C020.
Handle 0x0000
DMI type 0, 18 bytes.
BIOS Information
Vendor: HP
Version: 04.10
...
# rpm -qa | grep lm_sensors
#

Yong Huang

the lm_sensors has to guess at which sensors / ports / things / devices to
monitor. if it guesses wrongly and you say... yes... that's the
configuration to use when you run sensors-detect and setup the
configuration.... then it will monitor the wrong data... you may get
random counts or counts that never change.

I'd run sensors-detect again and see if you can select a different
device to monitor and see if that gives you better results.

--
D.A.M. - Mothers Against Dyslexia

see http://www.jacksnodgrass.com for my contact info.

jack - Grapevine/Richardson
.



Relevant Pages