Skip to content

How-ToCPU

How to Log Temperatures, Clocks and Power to a File With HWiNFO

How to record temperatures, clocks, power and fan speeds to a CSV file with HWiNFO's free sensor logging: choosing what gets logged, setting the polling period, what happens in a crash, and how to read the results.

By , Systems & Technical Editor

7 min read

How to Log Temperatures, Clocks and Power to a File With HWiNFO

Watching a live sensor overlay is fine when you're looking at it. It's no help when your PC black-screens halfway through a two-hour gaming session, a fan ramps up overnight, or a game stutters for a second and you miss what the CPU clock was doing. For that you need a log: a file that records every sensor reading at a fixed interval so you can look back at it afterwards. The free HWiNFO tool can do this, and it takes a couple of clicks. Forum moderators have given on the official HWiNFO forum, checked on 26 November 2026.

If you just want temperatures and frame rates on screen while you play, see our guide on how to monitor PC temps and FPS with HWiNFO and MSI Afterburner instead. This guide is about recording the data.

What sensor logging is good for

HWiNFO's website lists "status logging" among its reporting features alongside real-time monitoring. In practice a sensor log helps with:

  • Random crashes, freezes and reboots. A log shows what temperatures, voltages and power draw looked like in the moments before the problem.

  • Thermal throttling. You can see whether CPU or GPU clocks dropped at the same time temperatures peaked.

  • Checking a new build or upgrade. Logging a stress test or a long gaming session gives you a record to compare against later. Our guide on how to stress test a PC covers the tools to pair it with.

  • Before-and-after comparisons. Changed a fan curve, undervolted a GPU or re-pasted a cooler? Log the same workload before and after.

  • Getting help. A CSV file gives a support technician or forum hard numbers rather than "it gets hot".

Step 1: Download HWiNFO and open the sensors window

  1. Download HWiNFO from the official site, hwinfo.com.

  2. Launch it and open the sensors window (a moderator on the official forum puts it simply: open HWiNFO in sensor mode).

  3. You'll see a long list of sensors grouped by device: CPU, motherboard, memory, drives, GPU and so on.

Only download HWiNFO from hwinfo.com rather than a download mirror you don't recognise.

Step 2: Choose what gets logged (optional but worth it)

By default HWiNFO logs the values it is monitoring, which is a lot of columns. That makes big files that are awkward to read. You can trim it:

  1. Click the settings (cog) button at the bottom of the sensors window to open Sensor Settings.

  2. Go to the Customize tab. HWiNFO's developer explains on the official forum that the Logged checkbox there includes or excludes each item from the log file.

  3. To change lots of items at once, select a block of entries (hold Shift while clicking) and then click the Logged box. The developer confirms this works for deselecting everything in one go, after which you can tick back only the values you care about.

For a gaming PC, a useful short list is: CPU package temperature, CPU package power, core effective clocks, GPU temperature, GPU hot spot temperature (if your card reports it), GPU power, GPU clock, GPU load and your main fan speeds.

HWiNFO's developer notes that there are no separate logging "profiles", but you can save and restore all your preferences, including which items are logged, from the main settings. That's handy if you want one set-up for CPU testing and another for memory overclocking.

Step 3: Set the polling period

The polling period is how often HWiNFO reads its sensors, and so roughly how often a new row is written to the log.

  1. In Sensor Settings, go to the General tab.

  2. Find the polling period setting. HWiNFO's developer confirms on the official forum that this is where it lives.

Users on the official forum report a default of 2,000 ms (two seconds), which is a sensible starting point. Pick a shorter interval if you're chasing a stutter or spike that lasts less than two seconds, and a longer one if you're logging for many hours and only want a general trend. Shorter intervals mean bigger files.

Don't expect the interval to be exact. HWiNFO's developer explains that if reading a particular sensor takes extra time, that time is added on top of the period you set: if one sensor takes half a second to read and your period is two seconds, rows end up about 2.5 seconds apart. To find slow sensors, he suggests enabling the Profiling Time column, which shows how long each value takes to read, and disabling monitoring of sensors you don't need (for example, drive S.M.A.R.T. data) by pressing Del on the sensor's heading.

Step 4: Start logging

  1. In the sensors window, click the Logging Start button.

  2. HWiNFO asks where to save the file and what to call it. Pick a folder you'll remember and a descriptive name, such as 2026-11-26-gaming-session.csv.

  3. Click Save. Logging starts straight away.

Now do whatever you want to record: play the game that crashes, run a benchmark, or simply leave the PC running. Keep HWiNFO open, because the log only records while the sensors window is running. If you're chasing a random problem, note the time it happens; it makes the right part of the log much easier to find later.

Step 5: Stop logging

Click the same logging button again to stop logging. The CSV file is in the folder you chose in Step 4. HWiNFO's developer confirms that the file is stored wherever you chose when you clicked Logging Start.

What happens if the PC crashes mid-log?

This is the main reason to log in the first place, so it's worth knowing the limits. HWiNFO's developer says the sensor log file is saved automatically while it runs, but if the system crashes completely the very last readings might not make it into the file, because they can still be sitting in Windows' file cache in memory. A moderator on the official forum adds that a hard crash might not leave enough time to write anything, and that the file can be corrupted if the crash happens mid-write.

In practice that means a log will usually show you the build-up to a crash (rising temperatures, a power spike, falling clocks) even if the final second is missing. If you get an empty or broken file after a crash, try again; and if crashes keep happening with nothing unusual in the log, that points away from heat and towards things like drivers, memory or the power supply.

Step 6: Read the log

A CSV file is a plain-text table, so you can open it in Excel, LibreOffice Calc or Google Sheets. Each row is a reading and each column is a sensor, with the date and time in the first columns. Useful tricks:

  • Sort or use a filter to find the highest value in a column, such as CPU package temperature.

  • Scroll to the time you noted for a crash or stutter and look at the rows just before it.

  • Make a simple line chart of a temperature column and a clock column together to spot throttling.

For a quicker view, HWiNFO's official add-ons page links to GenericLogViewer, a separate tool for analysing and comparing HWiNFO sensor log files. The add-ons page says it can draw HWiNFO log data in several diagrams and compare multiple log files side by side in one diagram, which is exactly what you want for before-and-after tests.

Tips for useful logs

  • Log only what you need. Fewer columns make a log far easier to read, and dropping slow sensors also keeps the interval closer to what you set.

  • Name files clearly. Include the date, the workload and anything you changed (for example fan-curve-b-cyberpunk.csv).

  • Keep the workload the same when comparing before and after a change, and log for the same length of time.

  • Use it alongside other tools. For live checks we compare HWiNFO with its best-known alternative in HWiNFO vs HWMonitor. If you want to watch sensors on a phone or a second screen, see our news story on HWiNFO's REST API for sensor dashboards.

  • Paid extra: automatic logging. HWiNFO's developer has published command-line options for starting sensor logging automatically (including setting the polling period and a maximum logging time), but he notes that interface is available only in the licensed HWiNFO64 Pro. The free version's Logging Start button covers most home users.

Our verdict

HWiNFO's sensor logging is the simplest free way to find out what your PC was doing when something went wrong. Trim the log to the sensors that matter in the Customize tab, leave the polling period at the default unless you're chasing very short spikes, press Logging Start and reproduce the problem. Just remember that a hard crash can cost you the final readings, so look at the build-up rather than expecting the very last second.

The bottom line

HWiNFO's sensor logging is the simplest free way to find out what your PC was doing when something went wrong. Trim the log to the sensors that matter in the Customize tab, leave the polling period at the default unless you're chasing very short spikes, press Logging Start and reproduce the problem. Just remember that a hard crash can cost you the final readings, so look at the build-up rather than expecting the very last second.

Sources

  1. 01HWiNFO official website (features)
  2. 02HWiNFO Add-ons page (GenericLogViewer)
  3. 03HWiNFO Forum: Autosave report an option? (developer answers on log saving and file location)
  4. 04HWiNFO Forum: PC crashed, I want to log all CPU and GPU sensor information
  5. 05HWiNFO Forum: Why is one of my cores hidden? (developer answers on the Logged checkbox and polling period)
  6. 06HWiNFO Forum: Polling Period - Global vs Logging Cycle (developer answer on log timing)
  7. 07HWiNFO Forum: Supported command-line parameters in HWiNFO64 Pro

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Fix a Microphone That's Too Quiet in Windows 11

How-To

How to Fix a Microphone That's Too Quiet in Windows 11

If people say you're too quiet, your mic usually needs the right input selected, a higher level somewhere in the chain, better placement or gentler processing. We walk through Windows 11's input volume and test, the Levels tab and Microphone Boost, mic software gain and app settings, using Microsoft's official steps.

Marcus Thorne7 min

Ryzen 5 9600 vs Ryzen 5 9600X: Is the X Worth It?

Versus

Ryzen 5 9600 vs Ryzen 5 9600X: Is the X Worth It?

AMD's Ryzen 5 9600 and 9600X share six Zen 5 cores, 32MB of L3 cache and a 65W default TDP. Using AMD's official specs, we explain what actually differs - clock speeds and the bundled Wraith Stealth cooler - and which to buy for an AM5 build.

Callum Reid5 min

How to Run Local AI Models in Containers With RamaLama

How-To

How to Run Local AI Models in Containers With RamaLama

RamaLama detects your GPU, pulls a matching container image and runs local AI models inside isolated Podman or Docker containers. Here's how to install it, pull models from Hugging Face, chat and serve an API.

Marcus Thorne5 min