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).

"last" will output :

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 :

host 10.101.1.1

, it will print :

Thanks for the reply, when I run host and IP address from last I get host : address ... NOT FOUND

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.

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 .