w(1) gives the -a option:

     -a      Attempt to translate network addresses into names.

But this appears to be the default:

wrath~;w
 5:46PM  up 8 days,  1:08, 1 user, load averages: 0.50, 0.45, 0.37
USER    TTY FROM              LOGIN@  IDLE WHAT
mwlucas  p0 adsl-99-103-114-  5:44PM     0 w

Adding -a doesn't change the output.

I would *think* (there's my problem, I know) that if -a is the
default, then there would be a -n or somesuch to turn off hostname
resolution. What am I missing here?

Yes, there's other ways to see what IP I'm logged in from, just seemed
strangely inconsistent for you folks.

==ml

-- 
Michael W. Lucas        
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Latest book: SSH Mastery http://www.michaelwlucas.com/nonfiction/ssh-mastery
mwlu...@michaelwlucas.com, Twitter @mwlauthor

Reply via email to