Name
Tasklist —
\windows\system32\tasklist.exe
Synopsis
Display a list of running applications and processes running on either a local or a remote system. (Tasklist is included with Windows XP Professional only.)
To Open
Command Prompt →
packager
Usage
tasklist [/ssystem[/uusername[/p [password]]]] [/m [module] | /svc | /v] [/fifilter] [/foformat] [/nh]
Description
Tasklist is used to list running processes from the command line. Tasklist works together with Taskkill, discussed earlier in this chapter, to provide command-line equivalents to the functionality provided by the Processes tab in Task Manager. For more information on processes, see Task Manager, discussed earlier in this chapter.
Tasklist takes the following command-line parameters:
-
/ssystem Specifies the remote system to which to connect.
-
/u [domain\]user Specifies the user context under which the command should execute.
-
/p [password] Specifies the password for the user specified by
\u; prompts for input if omitted.-
/m [module] Lists all tasks that have DLL modules loaded that match the pattern,
module. Ifmoduleis not specified,/mdisplays all modules loaded by each task.-
/v Verbose mode; display all available information.
-
/fifilter Displays a set of tasks that match a given criteria specified by the filter. Use Tasklist for more display options.
-
/foformat Specifies the format of the display: type
/fo table(the default) for a formatted table,/fo list, for a plain text list, or/fo csvfor a comma-separated ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access