Skip to content

How-ToOS

How to Use Performance Monitor in Windows 11

Performance Monitor (perfmon) is built into Windows 11 and graphs or logs performance counters over time. Open it with perfmon, add counters such as total processor time, switch between graph, histogram and report views, save counters as a Data Collector Set to log a problem, run perfmon /report for diagnostics, or log to CSV with typeperf.

By , Systems & Technical Editor

6 min read

How to Use Performance Monitor in Windows 11

Microsoft's step-by-step Performance Monitor pages were written for earlier versions of Windows, so a few labels may differ slightly on Windows 11.

Task Manager tells you what's happening right now. Performance Monitor (perfmon) is the tool built into Windows for when you need more detail, or need to record what happened while you weren't watching. Microsoft describes it as a Microsoft Management Console (MMC) snap-in that can monitor application and hardware performance in real time, log the data you choose, set thresholds for alerts and automatic actions, generate reports and replay past performance data.

That makes it useful for problems that come and go: a game that stutters after an hour, a disk that maxes out at random, or memory use that climbs overnight.

Which Windows monitoring tool do you need?

Tool

Best for

Our guide

Task Manager

A quick look at what's using CPU, memory, disk and GPU right now

Task Manager guide

Resource Monitor

Live detail on which process is using the disk, network or memory

Resource Monitor guide

Reliability Monitor

A history of crashes, failed updates and other problems

Reliability Monitor guide

Performance Monitor

Graphing and logging specific performance counters over time

This guide

HWiNFO and similar

Temperatures, clock speeds and sensor readings

Best free hardware monitoring software

1. Open Performance Monitor

Press Windows + R, type perfmon and press Enter, or type perfmon into the Start menu search. In the left-hand pane, expand Monitoring Tools and click Performance Monitor. By default you'll see a live graph.

Microsoft's documentation says members of the local Administrators group can use every feature. Standard users can open saved log files, but can't view real-time data or create Data Collector Sets unless they're in the Performance Monitor Users or Performance Log Users groups. On a home PC, the simplest fix is to run it from an administrator account.

The perfmon command also has shortcuts that open specific views directly:

Command

What it opens

perfmon /res

Resource Monitor

perfmon /rel

Reliability Monitor

perfmon /sys

Performance Monitor on its own

perfmon /report

Runs the System Diagnostics Data Collector Set and shows a report of the results

2. Add the counters you care about

Performance Monitor works with performance counters: built-in measurements grouped into objects such as the processor and physical disks. To add some:

  1. Click the Add (+) button on the toolbar, or right-click the graph and choose Add Counters.

  2. Counters are listed in groups. Highlight a group and click Add to add all of it, or click the down arrow next to it, select individual counters (hold Ctrl to pick several) and click Add. Where a group has several instances, such as one per disk, you can add only the ones you want.

  3. Tick Show description in the bottom-left corner to see what the selected group measures, then click OK to start graphing.

Microsoft's own command-line example uses \Processor(_Total)\% Processor Time, the total CPU usage across all cores, which is a sensible first counter. Add counters from the same object one at a time rather than dozens at once, or the graph becomes unreadable.

To see every counter installed on your PC, open Terminal or Command Prompt and run typeperf -q. Add an object name to narrow it down: Microsoft's example, typeperf -qx PhysicalDisk -o counters.txt, writes every PhysicalDisk counter and instance to a text file you can read through.

3. Switch views to read the data

Microsoft says Performance Monitor can show the same data as a graph, histogram or report, and you can switch between them from the toolbar. The line graph is best for spotting spikes over time, while the report view lists the numbers side by side, which is easier to read with lots of counters.

To change the display settings, right-click the graph and choose Properties, or press Ctrl + Q. To keep a record of what you're seeing, right-click the graph and choose Save Image As, or Save Settings As to save the view as a web page.

4. Record data over time with a Data Collector Set

The live graph only shows what's happening while you watch. To catch a problem that appears later, log the counters with a Data Collector Set, which Microsoft calls the building block of performance monitoring and reporting. A set can contain performance counters, event trace data and system configuration information, and can be scheduled to run at specific times.

The quickest way to create one is from your current graph:

  1. Add the counters you want to the Performance Monitor graph, then right-click anywhere in the graph, point to New and click Data Collector Set. The new set contains every counter in the current view.

  2. Give it a name and click Next, then choose where to save the data (Microsoft notes that if you type the folder path, you mustn't end it with a backslash).

  3. Click Finish. Choose Start this data collector set now to begin logging straight away, or Save and close to start it later from Data Collector Sets > User Defined. Microsoft says Data Collector Sets run as the System user by default.

  4. Use your PC or play the game as normal, then right-click the set and choose Stop.

  5. To view the log, open Performance Monitor's Properties (Ctrl + Q) and load the file from the Source tab. Microsoft says you can open several log files at once to compare them.

You can also start from a template: right-click Data Collector Sets > User Defined, choose New > Data Collector Set, then pick Create from a template. Microsoft says templates are stored as XML files, so you can save a set as a template and import it on another PC.

5. Run a system diagnostics report

If you don't know what to look for yet, run perfmon /report from an administrator Terminal or the Run box. Microsoft says this starts the System Diagnostics Data Collector Set and then displays a report of the results. It's a useful health check before you dig into specific counters.

6. Log from the command line

For longer captures, Windows includes two command-line tools that Microsoft documents alongside Performance Monitor:

  • typeperf writes counter data to the command window or a log file, CSV by default. Microsoft's example typeperf "\Processor(_Total)\% Processor Time" prints total CPU usage every second until you press Ctrl + C. Add -si 5 -sc 50 -o cpu.csv to sample every five seconds, stop after 50 samples and save to a CSV file you can open in a spreadsheet.

  • logman creates, starts, stops, queries and deletes data collectors from the command line, and can import or export Data Collector Sets as XML files.

7. Monitor another PC on your network

Performance Monitor can also show real-time data from another Windows PC. Right-click the top item in the navigation tree (Microsoft's older documentation calls it Reliability and Performance), choose Connect to another computer and enter its name or browse for it. Microsoft notes that the Performance Logs and Alerts firewall exception must be enabled on the remote PC, and you need the right group membership there.

Tips for useful results

  • Record a normal baseline first. A log of your PC behaving normally makes it much easier to see what changes when the problem appears.

  • Match the log to the problem. If a game stutters after an hour, start the Data Collector Set before you launch it and stop it after the stutter.

  • Check the timeline elsewhere too. If a spike lines up with a crash, look at the same time in Event Viewer or Reliability Monitor.

  • Use the right tool for temperatures. Performance Monitor is about Windows performance counters; for temperature and fan sensors, use a dedicated hardware monitor.

Our verdict

Performance Monitor is the most powerful free monitoring tool built into Windows 11, and the one to reach for when Task Manager and Resource Monitor only show you the moment, not the history. Open it with perfmon, add a few counters such as total processor time, and switch between graph, histogram and report views to read them. To catch a problem that comes and goes, save your counters as a Data Collector Set and start it before the problem appears, or use typeperf to log to a CSV file. If you don't know where to start, perfmon /report runs Microsoft's System Diagnostics set for you.

The bottom line

Performance Monitor is the most powerful free monitoring tool built into Windows 11, and the one to reach for when Task Manager and Resource Monitor only show you the moment, not the history. Open it with perfmon, add a few counters such as total processor time, and switch between graph, histogram and report views to read them. To catch a problem that comes and goes, save your counters as a Data Collector Set and start it before the problem appears, or use typeperf to log to a CSV file. If you don't know where to start, perfmon /report runs Microsoft's System Diagnostics set for you.

Sources

  1. 01Microsoft Learn, Overview of Windows Performance Monitor
  2. 02Microsoft Learn, Using Performance Monitor
  3. 03Microsoft Learn, Creating Data Collector Sets
  4. 04Microsoft Learn, Create a Data Collector Set from a Template
  5. 05Microsoft Learn, perfmon command reference
  6. 06Microsoft Learn, typeperf command reference
  7. 07Microsoft Learn, logman command reference
  8. 08Microsoft Learn, Create a Data Collector Set from Performance Monitor
  9. 09Microsoft Learn, Configure the Performance Monitor Display
  10. 10Microsoft Learn, Add Counters Dialog Box

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

DirectX 11 vs DirectX 12 vs Vulkan: Which Should You Pick in Games?

Versus

DirectX 11 vs DirectX 12 vs Vulkan: Which Should You Pick in Games?

DirectX 12 and Vulkan are lower-level graphics APIs designed to cut CPU overhead and scale across more CPU cores, and DirectX 12 unlocks features such as ray tracing and the DirectX 12 Ultimate set. DirectX 11 is older and more driver-managed but remains a useful fallback for older GPUs or when a DX12 mode misbehaves. Vulkan is cross-platform and key on Linux. Start with the game's default.

Callum Reid6 min

How to Fix Missing DLL Errors in Windows 11 (VCRUNTIME140, MSVCP140 and More)

How-To

How to Fix Missing DLL Errors in Windows 11 (VCRUNTIME140, MSVCP140 and More)

Most "DLL was not found" errors in Windows 11 mean a program needs a Microsoft runtime that isn't installed. Install the latest Visual C++ v14 Redistributable (x64 and x86) for VCRUNTIME140 and MSVCP140 errors, older Visual C++ packages for 120, 110 or 100 files, and the DirectX End-User Runtime for d3dx9 or xinput1_3 errors. Then verify game files or run DISM and SFC. Avoid DLL download sites.

Marcus Thorne7 min

inferzero Pushes Intel Arc A770 Past 1,700 Tokens/s in Prompt Processing

News

inferzero Pushes Intel Arc A770 Past 1,700 Tokens/s in Prompt Processing

inferzero, an independent open-source LLM engine for Intel Arc graphics, now reports more than 1,700 tokens per second of prompt processing on an Arc A770 16GB with a 27B model, according to contributor results reported by Joho no Todai. We cover what it is and what the numbers mean.

Eleanor Shaw4 min