Technical article 107503

Need utility that displays ip number and port of remote host.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

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.

From the Xinuos technical article database, record 107503. Reproduced with permission. The original is at www.sco.com/ta/107503, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.