PDA

View Full Version : how to check process id on windows


jadoocian
Jun 23rd, 2008, 04:39 AM
I did a search on google, found an answer, but forgot it. I searched again and just can't find that link again!

I want to a list of all the processes runnin on my windows (vista) machine with their respective PID's.

The command was a one word command that you can type into the prompt window and it would list processes and their id's.

anyone know what it is? thanks!

webthrasher
Jun 23rd, 2008, 04:49 AM
I did a search on google, found an answer, but forgot it. I searched again and just can't find that link again!

I want to a list of all the processes runnin on my windows (vista) machine with their respective PID's.

The command was a one word command that you can type into the prompt window and it would list processes and their id's.

anyone know what it is? thanks!

tasklist.exe?

cybo
Jun 23rd, 2008, 04:50 AM
tasklist.exe?

Yeah, same command from XP... I was on the verge of replying "ps axfw". :|

jadoocian
Jun 23rd, 2008, 04:52 AM
thank you!

what a tough time trying to find that on google! should have just asked here!

willy
Jun 23rd, 2008, 07:53 AM
The Process tab under Windows Task Manager shows PID too.

Of course, you can always use this ... http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

jerryhung
Jun 23rd, 2008, 08:03 AM
sysinternals has some tools for computer users
http://live.sysinternals.com/

I believe ProcMon would be the one

matkun
Jun 23rd, 2008, 10:34 AM
The Process tab under Windows Task Manager shows PID too.


Just to add to this, you need to add the PID under View -> Select Columns.

Techhead
Jun 23rd, 2008, 12:44 PM
The Process tab under Windows Task Manager shows PID too.

Of course, you can always use this ... http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

Second Process Explorer. Great little app.

jadoocian
Jun 23rd, 2008, 04:12 PM
thanks for your help. installed process explorer and playing around with it.

I guess the next question is, is there a way a I can tell which process has which ports open to use? ie. I'm running skype. I want to see which ports skype is using to send/receive traffic.

ppl4golf
Jun 23rd, 2008, 04:17 PM
sysinternals has some tools for computer users
http://live.sysinternals.com/

I believe ProcMon would be the one
I think it's called Processes Explorer

This little program is a MUST HAVE - I believe it was you who linked it when I was having problem with unknown CPU usage which turned out to be DPC.

jadoocian
Jun 24th, 2008, 02:12 AM
thanks for your help. installed process explorer and playing around with it.

I guess the next question is, is there a way a I can tell which process has which ports open to use? ie. I'm running skype. I want to see which ports skype is using to send/receive traffic.

anyone?

jadoocian
Jun 24th, 2008, 03:51 AM
nm. figured it out.
if you're interested,

netstat -aon on windows will give you all listening/established ports on your machine along with the pid that opened that port.

matkun
Jun 24th, 2008, 10:27 AM
TCPView will show you the TCP connections:
http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx

But Skype does the majority of it's communications through UDP..
You can use Wireshark to see all network communications in realtime.

Also, I have studied Skype's network behaviour for a work project and I can tell you it does not use static ports and it will punch a hole in your NAT on whatever ports it gets told to from it's root Supernode list.