Search Tools Links Login

Domain change in progress, site content is moving! See this post for more info

TaskList

TaskList displays all running applications and services with their Process ID (PID) This can be run on either a local or a remote computer.

This command has been around since Windows NT 4.0, and continues to be useful through Windows 10 and Windows Server 2016.

Syntax

tasklist options

Key

Switch Explanation
/s computerSpecify the name or IP address of a remote computer (do not use backslashes). The default is the local computer.
/udomain\user [/p password]] Run under a different account
/fo{TABLE|LIST|CSV}] Output format, the default is TABLE.
/nhNo Headers in the output (does not apply to LIST output)
/fi FilterName [/fi FilterName2 [ ... ]]Apply one of the Filters below:

Status eq, ne RUNNING|NOT RESPONDING
Imagename eq, ne String
PID eq, ne, gt, lt, ge, le Positive integer.
Session eq, ne, gt, lt, ge, le Any valid session number.
SessionName eq, ne String
CPUTime eq, ne, gt, lt, ge, le Time hh:mm:ss
MemUsage eq, ne, gt, lt, ge, le Any valid integer.
Username eq, ne User name ([Domain\]User).
Services eq, ne String
Windowtitle eq, ne String
Modules eq, ne String
/m[ModuleName] | /svc | /v
/mShow the processes that include the given module.
/svcList all info for each process without truncation. Valid when /fo=TABLE. Cannot be used with /m or /v
/vVerbose task information

Example

Note: The output of the Tasklist command displays in a table format by default. The table is very wide and may not look right due to line wrapping.

C:\>tasklist /v /fi "STATUS eq running"
Image Name PID Session Name Session# Mem Usage Status User Name CPU Time Window Title ========================= ======== ================ ======== ============ ========= ========== ======== ======================================================================== csrss.exe 888 Console 1 6,268 K Running N/A 0:03:30 N/A dwm.exe 1304 Console 1 77,440 K Running N/A 0:40:11 DWM Notification Window RAVBg64.exe 3500 Console 1 12,652 K Running N/A 0:00:00 Realtek HD Audio Background Process for Vista NVDisplay.Container.exe 5636 Console 1 26,268 K Running N/A 0:00:02 NvSvc

About this post

Posted: 2007-04-25
By: FortyPoundHead
Viewed: 1,793 times

Categories

Windows Commandline

Windows

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

Sorry. Comments are frozen for this article. If you have a question or comment that relates to this article, please post it in the appropriate forum.