<HTML>
<HEAD>
<TITLE>Re: [NCLUG] User process to IP address</TITLE>
</HEAD>
<BODY>
Not sure if anyone's sent this out yet, but netstat -aep works for me for this very task.<BR>
<BR>
<BR>
on 9/20/01 9:42 AM, C. J. Keist at cjay@engr.colostate.edu wrote:<BR>
<BR>
<BLOCKQUOTE>Hello,<BR>
    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:<BR>
<BR>
    lsof -i @IP_address<BR>
    lsof -i @IP_address:port<BR>
<BR>
I get the IP and port from netstat.<BR>
<BR>
But it comes up empty.  Does anyone know of a way of doing this?<BR>
<BR>
Thanks...<BR>
<BR>
<BR>
C. J. Keist                    Email: cjay@engr.colostate.edu<BR>
UNIX/Network Manager           Phone: 970-491-0630<BR>
Engineering Network Services    Fax:  970-491-5569<BR>
College of Engineering, CSU<BR>
Ft. Collins, CO 80523-1301<BR>
<BR>
<BR>
</BLOCKQUOTE><BR>
</BODY>
</HTML>