Pcornel
Browse topics
Options
Recent
Favorites
Command · Windows / Windows Server / PowerShell

Get-Process | Sort-Object CPU -Descending | Select-Object -First 10

Get-Process | Sort-Object CPU -Descending | Select-Object -First 10

Lists the ten processes that have used the most CPU time since they started.

Execution context

Standard user

Use when

The machine is slow and you want to see which process uses CPU or memory.

Then verify

Look at that process with Get-Process -Id <id> | Format-List *.

Privilege Standard userState impact Read-onlyProduction Unknown

Operational impact: Read-only.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeStandard user
Execution contextStandard user
State impactRead-only
Safe during productionUnknown
CategoryProcesses
Evidence levelmixed
Primary DomainWindows
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family Rocesses
PlatformWindows / Windows Server / PowerShell
PrerequisiteStandard user
Output fields

Field glossary

Important fields projected from persisted Command guidance.

Handles, NPM(K), PM(K), WS(K), CPU(s), Id, SI, ProcessName

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsWindows

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Shows the processes and their accumulated CPU time and memory.

Does not prove

Does not show current CPU percentage.

Next check

Look at that process with Get-Process -Id <id> | Format-List *.

Depth when you need it

Command guidance

Execution context

Standard user

Use when

The machine is slow and you want to see which process uses CPU or memory.

Important fields

Handles, NPM(K), PM(K), WS(K), CPU(s), Id, SI, ProcessName

Common problems

CPU column is total CPU seconds, not current load; short spikes are not visible

Operational impact

Read-only.

Technical context

Sort by WS for memory use. For current CPU load use Get-Counter "\Process(*)\% Processor Time".

Confirmation

Confirm action

Continue?