The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Change Computer Name CBarraford OS X (Apple) 2 03-03-2007 10:57 PM
Another customisation for my computer davidY Shell Programming and Scripting 1 01-01-2007 09:33 PM
xwindow on old computer pgas UNIX for Dummies Questions & Answers 1 03-15-2004 08:24 AM
getting computer name coredump2003 High Level Programming 2 02-17-2004 04:45 AM
can't acces ftp from my computer TuMux UNIX for Dummies Questions & Answers 7 11-18-2003 11:41 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-23-2007
Registered User
 

Join Date: Feb 2005
Posts: 71
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).
Reply With Quote
Forum Sponsor
  #2  
Old 04-23-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
"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
Reply With Quote
  #3  
Old 04-23-2007
Registered User
 

Join Date: Feb 2005
Posts: 71
Thanks for the reply, when I run host and IP address from last I get host : address ... NOT FOUND
Reply With Quote
  #4  
Old 04-24-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
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.
Reply With Quote
  #5  
Old 04-26-2007
Registered User
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 187
hey buddy,

You can get this thing done through few commands...as...
1. /usr/sbin/netstat -i
2. hostname

if you don't find the netstat then give the following command...
"whereis netstat" it'll give you the location of the command from where you can run that.

I think this will work for you .
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0