Get-Process
SafeProcesses in PS
Get-Process | Sort CPU -Desc
Gets processes as objects; sort by CPU/memory to find heavy ones.
Examples
Get-Process | Sort CPU -Desc | Select -First 5Top 5 by CPU
Syntax
Get-Process [name] | Sort-Object CPU -Descending
Before you run it
Read-only.
Used when you see
CPU usage is pegged
1
See the whole flow →Identify the process consuming CPUSort by CPU and look at the top five.
Related commands
- Stop-ProcessKill process in PS
- tasklistList running processes
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