Unlock For Us

How to display all processes from the command line

The Task Manager can be use to monitor and display all the programs, processes, and services running on your computer. It can also be use for your computer’s performance checking and close a program when it is not responding.

Here’s how to list all the information using command prompt about processes currently running in your computer.

Query process command or qprocess.exe

Query process command displays information about programs and processes running. You can use this command to find which program name a specific user is currently using and vice-versa.


C:\Users\hp\Desktop>query process
USERNAME         SESSIONNAME         ID    PID  IMAGE
>hp              console              2   2248  taskhost.exe
>hp              console              2   2500  dwm.exe
>hp              console              2   2524  explorer.exe
>hp              console              2   2628  adobearm.exe
>hp              console              2   2644  vcddaemon.exe
>hp              console              2   2704  fdm.exe
>hp              console              2   2716  wweb32.exe
>hp              console              2   2768  utorrent.exe
>hp              console              2   3568  igfxsrvc.exe

C:\Windows\system32>query process *
USERNAME         SESSIONNAME         ID    PID  IMAGE
hp                                    2   3996  cmd.exe
hp                                    2    844  conhost.exe
hp                                    2   2088  iexplore.exe
hp                                    2    968  iexplore.exe
hp                                    2   2432  cmd.exe
hp                                    2   2484  notepad.exe
>system           rdp-tcp#0            3    628  csrss.exe
>system           rdp-tcp#0            3   2668  winlogon.exe
>administrator    rdp-tcp#0            3   2772  rdpclip.exe
>administrator    rdp-tcp#0            3   3276  taskhost.exe
>administrator    rdp-tcp#0            3   2464  dwm.exe
>administrator    rdp-tcp#0            3    960  explorer.exe
>administrator    rdp-tcp#0            3   2764  reader_sl.exe
>administrator    rdp-tcp#0            3   1160  notepad.exe

C:\Windows\system32>query process administrator
USERNAME           SESSIONNAME         ID    PID  IMAGE
>administrator      rdp-tcp#0            3   2772  rdpclip.exe
>administrator      rdp-tcp#0            3   3276  taskhost.exe
>administrator      rdp-tcp#0            3   2464  dwm.exe
>administrator      rdp-tcp#0            3    960  explorer.exe
>administrator      rdp-tcp#0            3   2764  reader_sl.exe
>administrator      rdp-tcp#0            3   3040  vcddaemon.exe

Tasklist command

The command lets you see the list of applications and services with their Process ID (PID) for all tasks currently running. The program has a lot of parameters that you can use: tasklist /?

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>tasklist

Image Name                  PID Session Name        Session#    Mem Usage
========================= ===== ================ =========== ============
System Idle Process           0 Services                   0         24 K
System                        4 Services                   0      5,532 K
smss.exe                    268 Services                   0        732 K
csrss.exe                   416 Services                   0      3,024 K
wininit.exe                 468 Services                   0      3,248 K
csrss.exe                   476 Console                    1      2,380 K
services.exe                524 Services                   0      8,228 K
winlogon.exe                560 Console                    1      3,532 K
lsass.exe                   572 Services                   0      8,496 K
lsm.exe                     580 Services                   0      4,208 K
svchost.exe                 756 Services                   0      5,884 K

Keep on reading!

0 Comments:

 

© Naga Heavy Industries (NHI) @2024| Blogger| License Agreement