Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Possible Duplicate:
What is the proper way of debugging a slow Windows installation?

how to log the performance of all processes in windows 7?

basically i want the information in task manager to be logged to a file that i can later view.

this is because my computer random freezes and I want to make sure it's not a single processes that decided to eat all the CPU time.

I wanted to use perfmon in Windows 7 but couldn't figure out how to add all processes.

share|improve this question

marked as duplicate by Oliver Salzburg, Scott Chamberlain, Diogo, Ƭᴇcʜιᴇ007, ChrisF May 18 '12 at 11:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 7 down vote accepted

Performance monitor has some built in data collection sets to do what you want to do (for one minute at a time)

Type in perfmon in to the start menu and launch the Performance Monitor enter image description here

There are two predefined "Collection Sets" that you may want to try out first. Go to Data Collector Sets -> System -> System Diagnostics. Right click on that and hit start, it will record data for the next 60 seconds.

enter image description here

Once that is done go to Reports -> System -> System Diagnostics and you will see a generated report of all the things it tracked.

enter image description here

(If you want to check the CPU usage of all processes that used the CPU over the recorded time expand out the CPU -> Process section.)

If you want it to track longer than 60 seconds right click on Data Collector Sets -> User Defined and click New. From that menu you can make your own set based off of a existing set (I would recommend having it based off of "System Performance" if you are planning on letting it run a long time "System Diagnostics" records a lot more information and it could slow down your system).

enter image description here

Once you have the new set created you can right click on it and go to properties and you can change the settings of how often you want it to run and how long it should run when it does (be careful, I have forgotten I turned one of these on once and it happily kept making new log files until it filled a entire 300 GB hard drive a few months later).

Here is a link to the MSDN page that goes in depth on how to use the performance monitor as I only have scratched the surface on what it can do.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .