Get-Counter
SafeRead perf counters
Get-Counter '\Processor(_Total)\% Processor Time'
Reads performance counters; -Continuous plus CSV export makes a quick perf logger.
Examples
Get-Counter '\Memory\Available MBytes' -Continuous -SampleInterval 5Watch free memory
Syntax
Get-Counter '<counter path>' [-Continuous] [-SampleInterval N]
Before you run it
Read only.
Related commands
- vmstatMemory/CPU/swap statistics
- Get-ProcessProcesses in PS
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store