How to know PID responsible for network connection/listen?
    Dan Nelson 
    dnelson at allantgroup.com
       
    Thu Nov 15 11:22:36 PST 2007
    
    
  
In the last episode (Nov 15), Yuri said:
> 'netstat -a' gives me the listing of network connection/listening
> records. But there's no link to the process id that opened it. With
> lots of processes this can be a significant problem to figure out who
> opened which connection.
Try /usr/bin/sockstat or the sysutils/lsof port.
-- 
	Dan Nelson
	dnelson at allantgroup.com
    
    
More information about the freebsd-questions
mailing list