mdog has asked for the wisdom of the Perl Monks concerning the following question:

Brethern --

I want to collect temperature information on my windows box so that I can perform certain actions (turn on an external fan for instance) if the CPU / HDD temperature gets above a certain threshold but am not familiar with any modules or command line utilities that would allow me to grab that data.

I see plenty of stuff for linux and solaris but cannot find anything for windows...CPAN doesn't have anything that I can find either.

Can anyone point me in the right direction?

Many thanks,
mdog

Replies are listed 'Best First'.
Re: Temperature Monitoring on Windows
by Grygonos (Chaplain) on Jun 21, 2005 at 19:49 UTC

    Windows itself is not going to know the temperature unless the hardware is reporting it. More to the point, this is going to be interacting with hardware and not some part of the Windows OS speedfan is what I use to monitor my temps on my motherboard. But one of my other machines does not report this information (or speedfan doesn't know how to handle it). If you can see temps in the BIOS, then obviously your computer is tracking this information. However, I know that sometimes those numbers can be inaccurate. I have a machine that my BIOS said runs at 100C, and has ran that way constantly for 2 years... it is a celeron 766 with a huge fan/heatsink and has external airflow. The whole point is you're limited to accessing what the hardware is providing you.

Re: Temperature Monitoring on Windows
by planetscape (Chancellor) on Jul 16, 2005 at 16:22 UTC