Purpose:Display a list of active processes


Format:TASKLIST [/C /D /L /M /N /O /P /T /U /U"owner" /X /Z] [name]


nameProcess name or window title


/C (Priority)/P(ause)
/D (show modules)/T(ime)
/L (Startup command)/U(ser names)
/N (class names)/X (hex)
/O(rder by PID)/Z (parent PIDs)


See also: TASKEND.




Windows programs run as one or more processes or tasks. You can use the TASKLIST command to display a list of currently-running tasks. TASKLIST displays the process ID number for each running task, the name of the executable program that started the task, and, when available, the window title. You can also optionally display the process priority, the modules (dll's) loaded by that process, the startup command line, the memory usage, the class name of the main window of the process, and the cpu usage.


If name begins with a =, it is assumed to be a process ID instead of a process name or window title.


TASKLIST will display a * after the process ID of the current process.


You can limit the output of TASKLIST by specifying the task name that you wish to see. The name can contain wildcards and extended wildcards.




/=Display the TASKLIST command dialog to help you set the command line options. You cannot specify any other arguments on the command line.


/CDisplay the current priority class for each process. The priority values are (in hex):


8000Above normal
4000Below normal


/DDisplay the loaded modules for each process.


/LDisplay the startup command line for each process.


/MDisplay the memory usage for each process.


/NDisplay the class name for the main window of each process.


/OSort the output by Process ID (PID).


/PWait for a key to be pressed after each screen page before continuing the display.


/TDisplay the system and user cpu usage for each process.


/UDisplay the user name for each process (system processes return an empty string).


/U"owner"Display only the processes for the specified user.


/XDisplay the PIDs in hex.


/ZDisplay the parent PIDs in the second column.