• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

CPU temperature probing

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

jwhitehorn

Member
Joined
Aug 15, 2002
Location
Jonesboro, Arkansas
Is their an easy way to probe CPU for either its on die temp (AMD Athlon) or the motherboard for its under-the-socket temp? I am going to be writting a program that needs this information in C. I have tried looking on the internet for some help, but the results dont turn up anything valid. I imagine any search for "temperature" and "c" in it is only going to lead to stuff talking about Celcius :D

any help would be great!
 
Oh, and I forgot.....

This is going to be under the Linux Operating System, so I guess any method that was OS specific would have to take that into consideration.
 
LM_sensors

A quick easy note lm_sensors puts the temps in
/proc/sys/dev/sensors/"sensor chip driver"/
there are a files there based on what yoru hardware supports, ie temps voltages fan speeds etc. You just need to make sure that i2c-proc is installed. That should make a easy file read to get the temps...Good luck...

shane
 
Back