Menu

How to find which task is running on PID on Windows OS

If you know the PID, then you can easily track which service and task is active and running on that particular PID. If you don't know PID but you have port number then go through by my previous blog how to find the PID using port number.
To find the running service on PID do the following:


  1. Open Command prompt(cmd) in your windows machine. Go to start and search for cmd. 
  2. Then copy the below command and paste in cmd window and hit enter.
  3. tasklist /FI "PID eq <PID number>"
  4. It will give you the result which have following:
    1. Image Name: Name of the service and program which is executing on this PID.               
    2. PID : PID number
    3. Session Name: Where it is active, whether in the form of service or console.
    4. Session: How many session are active(number of active sessions) for this particular service or program.
    5. Mem Usage: How much memory this service and program is consuming in your machine.
Below is the screenshot:


how to find running service on a PID in windows
how to find running service on a PID in windows

No comments:

Post a Comment