Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

One of our old computers is restarting randomly after some hours. I suspect the hard drive overheats. Is there a way to log the hard drive temperature every hour?

share|improve this question
Did you googlized any mointoring tools before you asked your question here? – Sencer H. Jun 8 '12 at 7:37

Its a bit of a hacky solution but you can throw together something with smartctl, a batch file and windows task scheduler

I'm using a copy of smartctl from a portable install of gsmartctl

First determine the devices on the system and work out their names. Smartctl uses the 'unix' style of naming drives

smartctl -scan will output all the drives on the system

c:\Users\me> smartctl.exe --scan /dev/sda -d ata # /dev/sda, ATA device

Then you can dump all information on that drive with

smartctl.exe -a /dev/sda

You can then direct that to a file with

smartctl.exe -a /dev/sda >> foo

Wrap it up with a batch script (perhaps using grep to sort out the drive temperature) and run it with scheduled tasks and you'll be golden.

share|improve this answer

SpeedFan can log temperatures to a file.

Once you have SpeedFan up and running, do the following:

  1. In the main screen, click Configure.
  2. Under the Temperatures tab, select the entry that corresponds to your hard drive (Probably HD0, press F2 to rename) and check the "Logged" checkbox at the bottom. Repeat for every temperature you want to log.
  3. Under the Log tab, select "Enabled" and customise the options if you wish.
  4. Click OK.
  5. Done. Logs (in CSV format) will appear in the directory that you installed SpeedFan to.

Alternatively, HWiNFO is another utility that can log component temperatures to a file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.