Problem
I need a utility that will display the ip number and port of the remote host I logged in from.
Solution
Download and install the nwho Technical Library Supplement (TLS).
This binary is on the BBS (sosco) in the TLS directory with the file names of tls059.tar.Z and tls059.ltr. This TLS comes with a compiled binary, source, nwho man page, and installation instructions.
Using nwho without options will show output similar to who(C), but will include the fully qualified domain name of the machines from which the remote users have logged into the system. Using nwho with "-n am i" will show the ip number of the remote host from which that user has logged into the system. For example:
# ./nwho
root tty01 Jul 1 13:29
root ttyp0 Jul 7 07:40
root ttyp2 Jul 8 10:33 (boomer.sco.COM)# ./nwho -n am i
root ttyp2 Jul 8 10:31 (133.144.155.166)Please note that this TLS is not supported by SCO, and hence SCO is not responsible for code maintenance of this Supplement. The next release of SCO TCP/IP is scheduled to provide similar functionality.