Windows Monitoring – Track CPU Usage History for All Processes

monitoringwindows

How can I view historical CPU usage for all the running processes in Windows, including those processes that were started after the history collection had started? I am interested in a way to collect this information automatically.

Best Answer

The tool to use is Process Monitor:

  • Start Process Monitor
  • Set a filter if required, otherwise uncheck all defaults and click OK to trace all
  • Enter menu Options > Profiling Events
  • Click "Generate thread prof‌iling events", choose the frequency, and click OK
  • To see the collected historical data at any time, enter menu Tools > Process Activity Summary...
  • Sort the list as required; double-click any one process to see its history.

Be prepared for a very large log file.

enter image description here

For a nice description of the above with screenshots see this answer.