[NCLUG] User process to IP address

C. J. Keist cjay at engr.colostate.edu
Fri Sep 21 08:31:59 MDT 2001


Thanks for every ones reply. This one worked for me.

Thanks...

At 05:47 PM 9/20/01 -0600, you wrote:
>Not sure if anyone's sent this out yet, but netstat -aep works for me for 
>this very task.
>
>
>on 9/20/01 9:42 AM, C. J. Keist at cjay at engr.colostate.edu wrote:
>Hello,
>    I'm trying to find a way to associate client machines IP address 
> connected to my server to the user process running on it.  I've been 
> looking at lsof to do this, but no luck with it.  This is what I have 
> been trying to do:
>
>    lsof -i @IP_address
>    lsof -i @IP_address:port
>
>I get the IP and port from netstat.
>
>But it comes up empty.  Does anyone know of a way of doing this?
>
>Thanks...
>
>
>
>C. J. Keist                    Email: cjay at engr.colostate.edu
>UNIX/Network Manager           Phone: 970-491-0630
>Engineering Network Services    Fax:  970-491-5569
>College of Engineering, CSU
>Ft. Collins, CO 80523-1301
>
>
>

C. J. Keist                     Email: cjay at engr.colostate.edu
UNIX/Network Manager            Phone: 970-491-0630
Engineering Network Services    Fax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nclug.org/pipermail/nclug/attachments/20010921/7b4bad9c/attachment.html>


More information about the NCLUG mailing list