SUMMARY:Query sockets owned by process

From: Christoph Liebig (
Date: Mon Jul 21 1997 - 08:03:05 CDT


My question was:

> Is there a way to find out about which sockets a process has created - maybe
> one can use some proc tools ?
> Can I associate process information to the output of 'netstat -a -f inet' ?

The answer is: yes, use program 'lsof -i internet_adress', where
 internet_adress is of the form [protocol][@hostname|hostaddr][:service|port]

lsof can be found at: (binaries, too :)

Thanks to

Chris Medaglia <>
"Aggelos P. Varvitsiotis" <>


This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:59 CDT