who - PC Computer name


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users who - PC Computer name
# 1  
Old 04-23-2007
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).
# 2  
Old 04-23-2007
"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
# 3  
Old 04-23-2007
Thanks for the reply, when I run host and IP address from last I get host : address ... NOT FOUND
# 4  
Old 04-24-2007
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.
# 5  
Old 04-26-2007
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 .
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Please help my computer has been compromised

Hi everyone, I hope I am posting in the right spot and I really need some help. I am going through a horrible divorce and I am afraid that my husband has compromised . He set up my mac computer and router and for my job set up remote access for me. I caught him cheating on me and I think he... (6 Replies)
Discussion started by: kk243665
6 Replies

2. UNIX for Dummies Questions & Answers

Can't shutdown the computer

i cannot shutdown my computer through GUI or CLI when i put the command shutdown -P/-r nowor press the shutdown button it goes to the login prompt and stays like that afterwards, so i press CTRL+ALT+delete (which works) but that only restarts it and closes processes like winbind and apache ... (6 Replies)
Discussion started by: mi117
6 Replies

3. What is on Your Mind?

What was your first computer?

Hey, the What Do You Do for a Living thread got me thinking about this. My first "computer" was a Timex Sinclair that I built from a kit. I also spent many hours painstakingly programming a Commodore Vic20 to display graphics and sound (and save them on that slooooow tape drive). My first "real"... (26 Replies)
Discussion started by: dday
26 Replies

4. What is on Your Mind?

How Many hours on Computer?

How many hours you spend on Computer in a day??? (10 Replies)
Discussion started by: malcomex999
10 Replies

5. UNIX for Dummies Questions & Answers

Computer Does NOT Ping

Hi, I cannot ping my IP address on the following settings and was wondering if anyone knows a solution to make the computer pingable. Windows XP Media Centre Edition Service Pack 3 Wireless Router DLINK DSL-G604Tv2 Wireless Connection Windows Firewall - disabled completely by "stopped in... (2 Replies)
Discussion started by: timmc10
2 Replies

6. UNIX for Dummies Questions & Answers

xwindow on old computer

hello at first sorry for my english... i know it isn't good but i hope you can understand me i want to install xwindow on my old pentium133MHz, 49MB ram memory, graphic card - stb horizon64 1MB (with old monochromatic monitor - horizontal 30.6-36.0, vertical 50-90) all this under redhat6.1...... (1 Reply)
Discussion started by: pgas
1 Replies

7. Programming

getting computer name

Hi all! Is there any function to get the name from a computer by the IP adresse? Thank you in advance! Greetings Mario (2 Replies)
Discussion started by: coredump2003
2 Replies
Login or Register to Ask a Question