Web Hosting Talk







View Full Version : monitor CPU temperature


Lmax
12-17-2001, 04:34 PM
Is there a way to monitor the CPU temperature with redhat(7.2). Cobalts have it build in, and most mainboards have the ability to monitor the CPU temperature. So i think it should be possible.
Does anyone know of an app for redhat which can do this??

zupanm
12-17-2001, 06:45 PM
there was a module you had to compile into your kernel for linux. That was for 2.2 though. I don't think it ever got ported to 2.4. So there is none i know of yet.

jahsh
12-17-2001, 08:50 PM
you might try writing a little script that does it for you. you can get the cpu temperature in redhat by looking in /proc/cpuinfo. not sure how accurate the results are though

RutRow
12-17-2001, 10:43 PM
Hmm.... I don't see anything in there about cpu temp.


sfo:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 11
model name : Intel(R) Pentium(R) III CPU family 1133MHz
stepping : 1
cpu MHz : 1135.914
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 2267.54

Lmax
12-18-2001, 05:39 PM
I get this
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 4
model name : AMD Athlon(tm) Processor
stepping : 4
cpu MHz : 1405.045
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 2804.94

No temperature either

zupanm
12-18-2001, 06:02 PM
like I said before. You have to install a kernel patch to make a module for it I think.

jahsh
12-21-2001, 04:29 PM
here is what i get (not sure why you arent getting the same):
[root admin]# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 13
model name : AMD-K6(tm)-III Processor
stepping : 4
cpu MHz : 448.211
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep pge mmx 30 3dnow
bogomips : 894.57
temperature : 41
system type : RaQ3/4

RutRow
12-21-2001, 05:34 PM
Hmm, they must configure the Raq's with the patch.

Anyone know where to get this patch.