LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   user ip addressfrom server (https://www.linuxquestions.org/questions/linux-server-73/user-ip-addressfrom-server-765109/)

abhijeetdutta 10-28-2009 02:43 PM

user ip addressfrom server
 
hi

how to take out user ip address from rhel server...who already logged out..

janoszen 10-28-2009 03:08 PM

Rephrase
 
Rephrase your question please. Do you want to know the IP address of a server from the console where you have no access? In most cases: forget it.

Take a look at your switch instead.

Berhanie 10-28-2009 04:43 PM

If you're asking how to find the connecting IP address of a remote user, you can run the last command, e.g.
Code:

last -i

pcunix 10-28-2009 04:50 PM

Or are you still seeing it in CLOSE_WAIT?

If so, this might be of interest: http://www.sunmanagers.org/pipermail...ry/007068.html

avijitp 10-29-2009 12:45 AM

Use following:

Code:

last | grep <username>
This should help.


All times are GMT -5. The time now is 03:43 AM.