|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to get the IP address / Host name of client machine
Hi
How to get the IP address / Host name of a particular user connected to Unix Server. For example: If used 'DevUser1' is connected to Unix server. I need to find out from which PC this connection has been made. How can this be achieved? Thanks |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
you can use last command to find the ip/hostname of system from which user is connected. the list is a bit long, so u can use
last <username> to get the details Last edited by kumarmani; 09-25-2008 at 08:02 AM.. |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
using "who" command will show the terminal or IP address as well
![]() |
|
#4
|
|||
|
|||
|
Thanks!
|
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
I have a Log file with userID, date and time of login and /dev/pty/xx. I want to know from which computer or site did the user login
|
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
I am not sure if I have understood your concern.
However you can try the command last as below and get the details Quote:
Quote:
the same is not possible with command who as its only going to display the status of current logged in user. |
| Sponsored Links | |
|
|
#7
|
|||
|
|||
|
Try 'who' command there it will show IP address from which box you jumped
|
| Sponsored Links | ||
|
![]() |
| Tags |
| host name of client machine |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| machine server and machine client | herbich1985 | Solaris | 0 | 05-06-2012 06:12 AM |
| get host name by IP address | limmer | Programming | 6 | 12-18-2009 06:24 AM |
| host name to IP address | cleopard | Programming | 7 | 04-11-2008 09:27 AM |
| Host ID vs MAC Address | TheBlueSky | Solaris | 4 | 02-03-2007 09:10 AM |
| How to get the host ip address in HP-UX in ksh? | nir_s | Shell Programming and Scripting | 12 | 08-07-2005 08:01 PM |
|
|