[unisog] Cross-reference apps to TCP/UDP connections on UNIX??
WillS at housing.ufl.edu
Mon Oct 7 18:45:25 GMT 2002
FWIW, if you are using FreeBSD > 3.1, you can also use the 'sockstat' command to get this information.
> 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?
More information about the unisog