[unisog] Cross-reference apps to TCP/UDP connections on UNIX??

Nate Eldredge nate at cs.hmc.edu
Mon Oct 7 20:16:25 GMT 2002

On Mon, 7 Oct 2002, Clarke Morledge wrote:

> In other words, it sure would be cool to cross reference the output of
> netstat with the output of ps.  Specifically, tying the process ID and/or
> the user ID together with the TCP/UDP ports/connections being used would
> be great.

On Linux at least, "netstat -p" does exactly that.  (You have to be root.)

Nate Eldredge
HMC CS Staff
nate at cs.hmc.edu

More information about the unisog mailing list