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.
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:
Click the Add (+) button on the toolbar, or right-click the graph and choose Add Counters.
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.
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:
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.
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).
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.
Use your PC or play the game as normal, then right-click the set and choose Stop.
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.