Hi maksu-ga,
The program you are looking for is TCPView from Sysinternals. From
the TCPView intro page :
"TCPView is a Windows program that will show you detailed listings
of all TCP and UDP endpoints on your system, including the local and
remote addresses and state of TCP connections. On Windows NT, 2000 and
XP TCPView also reports the name of the process that owns the
endpoint. TCPView provides a more informative and conveniently
presented subset of the Netstat program that ships with Windows.
TCPView works on Windows NT/2000/XP and Windows 98/Me. "
You can download TCPView, and the source code for its commandline
equivalent from:
- Sysinternals Freeware - TCPView
( http://www.sysinternals.com/ntw2k/source/tcpview.shtml )
Another program you can use is TDIMon utility, again from
Sysinternals. Check it out at:
- Sysinternals Freeware - TDIMon
( http://www.sysinternals.com/ntw2k/freeware/tdimon.shtml )
As for UNIX systems, the fstat command displays all open TCP(stream),
UDP(datagram), pipe and file descriptors along with the process that
opened them. The output of the fstat command varies slightly depending
on your version of Unix, but it should get the job done. Check out the
man page for more information. Also see this discussion:
- dBforums: How to determine which process uses which tcp-udp
port
( http://dbforums.com/t642752.html )
=========================================
Hope this helps.
If you need any clarifications, just ask!
Regards,
Theta-ga
:-)
=========================================
Google/Google Groups Search Terms Used:
How to determine which process uses which tcp-udp port
fstat(1) |