How to Use PerfMon in Windows 11
In this article
Yes, you can use Performance Monitor (PerfMon) in Windows 11 to track system performance, diagnose issues like high CPU or memory usage, and log resource activity over time. It’s built into Windows and requires no downloads—just access through the Run dialog or Start menu.
What You'll Need
- A Windows 11 device with administrator access (some counters require elevated privileges)
- At least basic familiarity with system resources like CPU, RAM, disk, and network
- Sufficient disk space if planning to log data for long periods
Step-by-Step
- Press Windows + R to open the Run dialog. Type
perfmonand press Enter. This launches Performance Monitor directly. - Alternatively, open the Start menu, type Performance Monitor, and select the top result under “Best match” or “System tools.”
- When the Performance Monitor window opens, expand Monitoring Tools in the left pane, then click Performance Monitor. You’ll see a real-time graph of system activity.
- To add specific counters, click the green plus (+) icon above the graph. A dialog titled “Add Counters” appears.
- In the “Add Counters” window, scroll through the list of available performance objects (like Processor, Memory, Disk, Network Interface). Select one—e.g., Processor—then choose which instance (e.g., % Processor Time for _Total or a specific core).
- Click Add to move it to the right pane. Repeat to add more counters—e.g., Memory > Available MBytes, PhysicalDisk > % Disk Time, Network Interface > Bytes Total/sec.
- Click OK to apply. The graph now displays real-time data for all selected counters. Each counter appears as a colored line.
- To adjust the update frequency, right-click the graph, select Properties, and change the “Sample every” value (e.g., every 1 or 5 seconds). Click OK.
- To save the current monitoring setup, go to File > Save Settings As, choose a location, and give it a name with the .msc extension.
- To create a data collector set for logging, go to the left pane, expand Data Collector Sets, right-click User Defined, then select New > Data Collector Set.
- Name the set (e.g., “High CPU Investigation”), choose “Create manually,” and click Next.
- Select “Performance counter” and click Next. Click Add to choose the same types of counters as before. Set the sample interval (e.g., every 15 seconds).
- Choose where to save the log file (default is %systemdrive%\PerfLogs). Accept the default .blg (binary) format unless you need CSV or TSV for external analysis.
- Set the stop condition—either after a duration (e.g., 1 hour) or manually. Click Finish to create the set.
- To start logging, right-click the new data collector set and select Start. It will run in the background and collect data as scheduled.
- To view logged data, stop the set (right-click > Stop), then double-click Report under the set to see a summary, or open the .blg file in PerfMon for detailed analysis.
Common Mistakes
- Adding too many counters at once: This can slow down the system or make the graph unreadable. Stick to 5–7 relevant counters.
- Using too frequent sampling: Sampling every second for long periods generates large logs and impacts performance. Use 5–15 seconds for most monitoring.
- Not running as administrator: Some counters (especially disk or network) may not display data without admin rights. Always run PerfMon as admin if counters appear blank.
- Ignoring log file size: A long-running log with many counters can grow to gigabytes. Monitor disk space if logging for hours or days.
- Forgetting to stop the data collector: It will keep running and consuming resources until manually stopped.
Tips
- Use Processor > % Processor Time (_Total) as a baseline for CPU load. Sustained values above 80% may indicate a bottleneck.
- Monitor Memory > Available MBytes. If consistently below 500 MB, your system may be memory-constrained.
- For disk issues, check PhysicalDisk > % Disk Time and Avg. Disk Queue Length. Values above 90% or queue lengths over 2 suggest overload.
- Use System > Processor Queue Length to detect CPU scheduling delays. A value greater than the number of CPU cores indicates contention.
- Save frequently used counter sets so you don’t have to re-add them each time.
- Export logs to CSV for analysis in Excel or other tools by right-clicking the log file and selecting “Save Data As.”
Troubleshooting
If counters don’t display data, first ensure you’re running PerfMon as administrator. Right-click the Start menu, select “Terminal (Admin)” or “Command Prompt (Admin),” type perfmon, and press Enter.
If the issue persists, reset performance counters. Open an admin Command Prompt and run lodctr /r. This rebuilds the counter library from registry backups. Restart PerfMon afterward.
If a data collector fails to start, check that the save path has write permissions. Avoid restricted folders like Program Files. Use the default PerfLogs folder or a custom folder on C:\ with full control permissions.
If the graph appears frozen or jagged, adjust the sample rate or reduce the number of active counters. Also, ensure no other intensive logging tools are running simultaneously.
Frequently Asked Questions
Can I monitor remote computers with PerfMon?
Yes, but only if you have administrator access and performance counters enabled on the remote machine. In the Add Counters dialog, click “Select counters from computer,” enter the remote PC’s name, and connect.
What do the red, yellow, and green indicators mean in reports?
They’re visual cues: red means high usage (potential bottleneck), yellow is moderate, and green is low. Use them as quick guides, not absolute thresholds.
Is PerfMon safe to use?
Yes. It only reads system data and logs it. It doesn’t modify settings or affect performance significantly unless misconfigured with excessive sampling.
Why are some counters missing or grayed out?
This usually happens without administrator privileges or if the associated service isn’t running (e.g., disk counters need the disk service). Run PerfMon as admin and ensure relevant services are active.
Can I schedule a data collector to run automatically?
Yes. Right-click your data collector set, go to Properties, and set a schedule under the “Schedule” tab. You can define start times and recurrence.
How do I remove a counter from the graph?
Right-click the graph, choose “Delete,” then select the specific counter from the list and click “Remove.”