• Advertisement
Sign in to follow this  

Get CPU temperature

This topic is 3163 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What's the easiest way to read the CPU temperature from C++ in 1) Windows and 2) Linux? I need to control some hardware external to the computer based on the CPU temperature.

Share this post


Link to post
Share on other sites
Advertisement
It depends on the chipset and drivers. They may expose some interface for you to retrieve this information. Check with the mobo manufacturer to see if they have an SDK.

Otherwise there may be generic temp getter SDK's available. Or worse case you'll need to add the temperature sensor and some kind of board from which you can read it.

http://www.google.com/search?q=get+cpu+temperature

Share this post


Link to post
Share on other sites
The guys behind SpeedFan could probably give you lots of details. (Of course, you may want/need to offer them something in return.)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement