tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Edward Nowlan <Edward.S.Nowlan () williams ! edu>
To: tru64-unix-managers
Subject: How do you determine the IP Address you connected with?
Date: Mon, 07 Jun 1999 15:07:52 +0000	[thread overview]
Message-ID: <96079044115581.tru64-unix-managers.marc@archive.invalid> (raw)

I need to create  a script that can display the IP Address, DNS Name and
Ethernet Address.  

I currently have the script using last, but I was hoping that there was
something else that could give me the IP address of the machine I was
connecting from.  I see that finger gives me this information also, but if the
user is logged on more than once, I would have to figure out which one is
which.

Any simple system call that can return the IP address of the current process?

Thanks.



                                -- Edward S. Nowlan
                                   Networks and Systems Administrator
                                   Williams College
                                   Voice: 413-597-2082
                                     Fax: 413-597-4103
                                   Email: edward.nowlan@williams.edu
     

                 reply	other threads:[~1999-06-07 15:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox