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

Can CPU usage be monitored in Event Viewer? I don't want to use a third-party software. Can I set a rule so that Event Viewer can show me if the CPU usage gets higher than a set value?

share|improve this question
up vote 7 down vote accepted

In Event Viewer? No, that only shows events. You can however use the Performance MMC snap-in. Run perfmon.msc then you can view the CPU usage as well as a bevy of other performance counters.

You can also configure it to log an event to the Application system log by adding and configuring an alert.


Figure 1: Adding a performance alert in XP (a little less direct, but similar in 7)

enter image description here

share|improve this answer
    
Task manger as well... – soandos Feb 12 '12 at 5:57
    
Yes, but Task Manager does not let you set thresholds or log events. – Synetech Feb 12 '12 at 6:13

1) You can explore the possibilities of the command line eventcreate.exe in system32...

2) Follow the advice of Synetech

Here's a short How To from MSDN Blog: How To: Use Perfmon in Windows 7

http://blogs.msdn.com/b/securitytools/archive/2009/11/04/how-to-use-perfmon-in-windows-7.aspx

The files for your Performances collector for the CPU will be save in C:\PerfLogs

But this is not a complete answer to your question since, as far as I know, the perfmon use built-in performances counters and not a user created counters such as a «CPU usage gets higher than a set value» (This must be verified!)

share|improve this answer

You must log in to answer this question.

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