The UNIX Forums
"Join the Network of UNIX System Users"


 
Subject: who - pc computer name
Bubblemate
Newbie
Rank: 1



UID 79
Digest Posts 0
Credits 0
Posts 50
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 5, 2007 12:44 AM  Profile | P.M. 
who - pc computer name



who - pc computer name



does anyone know of a way of identifying the pc / client name rather than ip address via who or some other aix command (5.3).


Top
Hopper
Newbie
Rank: 1



UID 176
Digest Posts 0
Credits 0
Posts 58
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 5, 2007 12:44 AM  Profile | P.M. 
"last" will output :

code:
root      pts/1        host-name            apr 23 06:01   still logged in.if the remote client has a dns record, and it's being recognized by the dns resolver.
otherwise, get the ip and do :

code:
host 10.101.1.1, it will print :

quote:
remote.client.machine.com is 10.101.1.1
Top
DemonMaster
Newbie
Rank: 1



UID 114
Digest Posts 0
Credits 0
Posts 55
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 5, 2007 12:44 AM  Profile | P.M. 
thanks for the reply, when i run host and ip address from last i get host : address ... not found
Top
dewouter
Newbie
Rank: 1



UID 115
Digest Posts 0
Credits 0
Posts 63
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 5, 2007 12:44 AM  Profile | P.M. 
this means that this ip doesn't have dns record, is it a local ip ? if yes, ask the system/net admin, otherwise do a whois for the ip, like "whois -d 64.65.101.10" you will see to which organization it belongs, eventually some e-mail addresses.
Top
 

 

All times are GMT, the time now is Jul 31, 2010 03:27 AM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.405738 second(s), 8 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP