Task manager in command prompt (tasklist), Kill task

by rajesh 2008-04-13 13:38:32

In windows XP

Open the command prompt and type
>tasklist

This will list all the running processes with its process id [pid]

Example:
C:>tasklist

Image Name PID Session Name Session# Mem Usage
========================= ====== ================ ======== ============
System Idle Process 0 Console 0 28 K
System 4 Console 0 236 K
SMSS.EXE 648 Console 0 400 K
CSRSS.EXE 728 Console 0 5,136 K
WINLOGON.EXE 764 Console 0 4,128 K
SERVICES.EXE 808 Console 0 4,024 K
LSASS.EXE 820 Console 0 6,408 K
SVCHOST.EXE 960 Console 0 4,816 K
SVCHOST.EXE 1028 Console 0 4,240 K


We can also kill process or task from command prompt by using the command taskkill

Syntax : taskkill /pid <pid>

Example: > taskkill /pid 820

For more helip use
>taskkill /?

Tagged in:

3438
like
0
dislike
0
mail
flag

You must LOGIN to add comments