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

Marion Hakanson hakanson at cse.ogi.edu
Mon Oct 7 18:38:50 GMT 2002

I use the open-source tool "lsof" for this, among other useful tasks.
Some systems have "fuser" as well, though I can't recall if that looks
at network descriptors as well as file descriptors.


Marion Hakanson <hakanson at cse.ogi.edu>
CSE Computing Facilities

> . . .
> 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.
> Has anybody any suggestions, or is this just wishful thinking on my part?
> Clarke Morledge
> College of William and Mary
> Information Technology - Network Engineering
> Jones Hall (Room 18)
> Williamsburg VA 23187
> 757-221-1536
> chmorl at wm.edu

More information about the unisog mailing list