I want to get cpu's temprature,and the laptop's energe,and so on.
Anybody can give me some advices?
Thank you!
I want to get cpu's temprature,and the laptop's energe,and so on.
Anybody can give me some advices?
Thank you!
It depends on the processor and temperature sensors installed on your PC. You need to access the system management interface, and this interface can change based on motherboard, chipset, processor... It's not common.
A typical temperature sensor is the W83667HG.
ensky_cy (15th December 2009)
C is fine, but it's going to be very system specific.
ensky_cy (17th December 2009)
Ok. First thing is to define on which OS you want to do it. Anyway there is nothing you can do with that on Qt but on C/C++ - yes. For Linux I can suggest you libsmbios, where you can find a C++ binding as well. But it is low level programing highly dependent on OS and underlying hardware.
Good luck,
-- tanuki
ensky_cy (17th December 2009)
Bookmarks