Windows Task Manager – Quick tip: showing the PID

By default the Windows Task Manager does not show the PID of a process… but this can easily be fixed:

1. Start the Windows task manager. This can be done either via the command line by running  “taskmgr”, or by right-clicking on the Windows taskbar and selecting the “Start Task Manager” option. You should see something like this:

Capture-tm

2. Now click on the “Processes” tab,  select the “View” menu and pick the “Select Columns” option. Ensure that the PID checkbox is ticked.

Capture-tm_select_columns

3. Click OK to go back to the processes tab, and the PID should be visible:

Capture-tm_pid

The PID can be used in conjunction with the netstat command to find out which process runs on a given port:

netstat -aon | find “1234” will show which PID is associated with port 1234, then use the Task Manager to lookup the process associated with that PID.

Advertisements

One thought on “Windows Task Manager – Quick tip: showing the PID

  1. Pingback: tomcat http request aborted but https fine | Zeto Answers

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s