Subject: Re: netstat and PIDs
To: VaX#n8 <vax@linkdead.paranoia.com>
From: Don Lewis <Don.Lewis@tsc.tdk.com>
List: current-users
Date: 09/09/1996 20:05:27
On Sep 9, 9:11pm, VaX#n8 wrote:
} Subject: netstat and PIDs
} I don't know if it would be possible, but it would be Really Nice if netstat
} had an option to show which PID had a particular connection open. I could
} not find such an option, and a sysadmin friend agrees that this would be
} very helpful if you have a suspicious connection open and want to track
} it down. I imagine the kernel must store this info somewhere since it has
} to deliver packets to said process - I guess via the descriptor table[s].
You might want to look at ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
--- Truck