command to inentify the process that is listening in a port.

Dan Nelson dnelson at allantgroup.com
Mon Apr 9 15:46:40 UTC 2007


In the last episode (Apr 09), Siju George said:
> How Do you actually Identify what process is listening on a TCP/IP
> port? "nmap" does not usually give the right answer. There should be
> some command that can be run on the local host for identification
> right?

Try /usr/bin/sockstat or lsof (in ports)

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list