Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Performance Counters

Direct answer

Performance counters are named metrics exposed by Windows and applications, like \Processor(_Total)\% Processor Time. Read them in Performance Monitor or with Get-Counter and typeperf.

When to use this

Use this when choosing performance counters to collect.

First 30 seconds

1. Get-Counter -ListSet <name>.

2. Key counters per resource.

3. Sample interval appropriate.

4. Export with Export-Counter.

5. Thresholds.

Operational verification

counters exposed by providers → sampled

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows execution, automation and observability
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows execution, automation and observability
Scope / prerequisiteUse this when choosing performance counters to collect.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Comparing counters across machines with different hardware without baselines.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Counters have objects, instances and names.
  • Get-Counter reads them from PowerShell.
  • typeperf logs them from cmd.
Key checks
  • Get-Counter '\Processor(_Total)\% Processor Time' -SampleInterval 2 -MaxSamples 5 — CPU
  • Get-Counter '\Memory\Available MBytes','\Memory\Pages/sec' — memory
  • Get-Counter '\PhysicalDisk(*)\Avg. Disk sec/Transfer','\PhysicalDisk(*)\Current Disk Queue Length' — disk latency/queue
  • Get-Counter '\Network Interface(*)\Bytes Total/sec' — network
  • resmon — Resource Monitor
ReferenceWhy it matters1 section · depth on demand

How counters work

A counter path is \Object(Instance)\Counter, for example \PhysicalDisk(0 C:)\Avg. Disk sec/Read. Objects are provided by the OS and applications (SQL Server, IIS add their own). Some counters are instantaneous, others are averages over the sample interval. List available counters with Get-Counter -ListSet *.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Core performance counters and rough thresholds:

CounterConcern when
\Processor(_Total)\% Processor Time> 80–90 % sustained
\System\Processor Queue Length> 2 per core sustained
\Memory\Available MBytes< 10 % of RAM
\Memory\Pages/sec (with hard faults)Sustained high together with low available
\Memory\Committed Bytes In Use> 80–90 %
\PhysicalDisk(*)\Avg. Disk sec/Read,Write> 20 ms HDD, > 2–5 ms SSD
\PhysicalDisk(*)\Current Disk Queue LengthPersistently high with high latency
\Network Interface(*)\Bytes Total/secNear link speed
Get-Counter '\Processor(_Total)\% Processor Time','\Memory\Available MBytes' -SampleInterval 5 -MaxSamples 12
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows execution, automation and observability current

Authoritative/upstream documentation reviewed for bounded claims in Performance Monitoring → Performance Counters. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/administration/performance-tuning/ · confidence 94%
Confirmation

Confirm action

Continue?