Home > Commands N-Z > Commands T

TLIST


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Shows the command, command-line, working directory, memory usage and DLLs for each running task.


Syntax

TLIST [-t] [[pid] | [pattern [...]]]


Parameters
pattern (NT4)
A complete task name or expression pattern (e.g. CMD.*) if a pattern is given it will match against task names or window titles.
pid (NT4)
List module information for this task, if no PID is given - all Tasks are listed.

Switches
-t (NT4)
Show Task dependencies in Tree form.

Related

PSTAT - display running tasks including all Process Threads.
MEM - Display memory usage.
WINMSD - Windows NT Diagnostics (including Physical Memory).
Equivalent Linux BASH commands:
time - Measure Program Resource Use.
times - User and system times.


Notes

none.


Examples

This batch file will show the full path of all running programs:

    @ECHO OFF
    FOR /F "TOKENS=1" %%G IN ('tlist') DO (CALL %s_item %%G)
    GOTO :eof

    :s_item
    tlist %1 | FIND "CmdLine"

Errorlevels

none.


Availability
External Resource Kit
DOS
none
Windows
none
Windows NT
NT4