But, how to identify the process name in for
each PID that is displayed via the above netstat
command in Windows XP ?
Thx in advans,
Karthik Balaguru
The below links clarify regd it -
1. Viewing the process id via the Task Manager in Windows
Reference - http://www.mydigitallife.info/2008/12/02/how-to-get-and-view-process-identifier-process-id-or-pid-on-windows/
2. Viewing the process via netstat itself -
option ' -b ' - Displays the binary (executable) program's name
involved in creating each connection
or listening port. (Windows XP, 2003 Server only (not Microsoft
Windows 2000 or other
non-Windows operating systems))
Reference - http://en.wikipedia.org/wiki/Netstat
Thx,
Karthik Balaguru
At the command prompt the naked TASKLIST command will list all the PIDs
and their process names. If you want to find a single PID, for example
PID # 772:
tasklist /fi "PID eq 772"
John
Cool :-)
Thx for that info.
The below command w.r.t netstat also works fine(Note the usage of -b
and -a) -
netstat -p UDP -o -b -a
Karthik Balaguru
Thanks for the tip, I kinda figured that there would be a way to do it
right from the netstat command but I was too lazy to give it a try or
look it up.
John