Terminal Dojo
Help العربية Sign inGet started

Command library / tasklist

tasklist

CMDDraft — pending expert review4 practice missions

List running processes

Lists every running process with its PID, memory use, and (with /svc) which Windows services it's hosting. Pairs directly with netstat -ano: netstat gives you a suspicious PID, tasklist tells you what program that PID actually is.

Practice tasklist

Usage

tasklist [/fi "filter"] [/svc] [/v]

Options and flags

Examples

Common mistakes

tasklist /fi PID eq 4444 tasklist /fi "PID eq 4444"

The filter expression has spaces in it, so it must be quoted as ONE argument, or cmd splits it into three separate (meaningless) arguments.

Related commands

netstat