6

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.

3
  • 2
    To the dowvoter, can you explain why this question is bad, I think it is clear and explains exactly what the OP needs, it is also a solvable problem. Jun 19 '13 at 13:44
  • Do you want the summed up total CPU usage for all processes? Or do you want the individual CPU usage for all processes? Jun 19 '13 at 14:16
  • @Werner Henze, Second one. The first one is available in numerous tools.
    – user626528
    Jun 20 '13 at 2:47
5
+50

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.

6

In Windows 7 there is the Performance Monitor.

You must enable it, set the log options and then leave it running. It is only historical for as long as you run the application.

The file is :C:\Windows\system32\perfmon.exe

A link, provided by Scott below with a good tutorial / step by step instructions.

5
  • 2
    Here is a tutorial with pictures showing how to set up tracking CPU Usage in perfmon. Not covered in the tutorial, but in perfmon you can set your collection sets to start up with windows and run all the time, if you do make sure you set a max size on the log so it will delete older records as it adds new ones. I have forgotten to do this and used a whole 100 GB hard drive up after forgetting about a set I left on for a few months. Jun 19 '13 at 13:42
  • @ScottChamberlain Thanks, I added your link in the answer. Jun 19 '13 at 13:45
  • Resource monitor and performance monitor are completely different tools. And Perfmon requires to add every process you need to monitor explicitly. It's impossible to monitor all running processes automatically.
    – user626528
    Jun 20 '13 at 2:45
  • @user70010 You are right, I pointed to the exe I meant, I linked to the article that referenced what I meant, but I goofed on the name. Corrected now, thanks. Jun 20 '13 at 3:05
  • 1
    This will only collect data for processes that ran when setting up Performance Monitor logging. It will not show CPU usage for processes created after logging started. Jun 20 '13 at 8:03
1

For Win10 universal apps (not Chrome/Edge for now..), Task Manager nowadays got [App history] tab with CPU time that seems not just simple delta with start time:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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