Sign in to follow this  
Prune

Get CPU temperature

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this