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:
How to log processes throughout workday?

I would like to capture CPU usage on my Windows XP over a 24-hour period and generate a report in Excel. The granularity needs to be one sample per 5 seconds.

Also, I would like to see the top 5 processes utilizing CPU at any given moment and how much CPU they are using.

My goal: demonstrate to my IT department that scheduled virus scans are running at the busiest part of the workday, hogging my CPU, etc.

share|improve this question

marked as duplicate by Tom Wijsman, studiohack Feb 23 '11 at 7:53

This question was marked as an exact duplicate of an existing question.

Every 5 seconds for 24 hours? That's gonna be a pretty big log if you want full detail. And if virus scans aren't running in NONWORK HOURS your IT department needs a kick in the head. – Shinrai Feb 22 '11 at 23:57
@Shinrai: Computers are likely to be off at non-work hours. And the log allows for quite some compression, the same process names occur over and over and the rest are just a small amount of numbers. It will probably be some MB, but nothing to worry about unless you are keeping history for days... – Tom Wijsman Feb 23 '11 at 0:22
Exact duplicate at How to log processes throughout workday? – Tom Wijsman Feb 23 '11 at 0:26
@TomWij - Every mid-to-large corporate environment I've seen leaves PCs on 24/7. Maybe that's just coincidence. EDIT: And I didn't really mean log size, I meant as far as actually parsing it to pull out your data points for them. Although obviously whatever app you're using in the first place to generate them you'd hope would help with that, it's still a good bit of data to go through! – Shinrai Feb 23 '11 at 6:05
@Shinrai: Some MB in file will still be some MB in memory, it's really not that much data... – Tom Wijsman Feb 23 '11 at 10:54

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