Quoting Reco (recovery...@gmail.com): > So, long story short, last version of 'w' which printed hostnames by > default should be squeeze's one, and even then they used compilation > flag to make it do so.
I'm trying to follow this, but it doesn't seem to square with my own observations. I've edited the following output to pertinent entries in context (you don't need my TV's hostname/IP#). west runs jessie, alum runs wheezy. jessie first: west ~ $ w 11:31:01 up 4:41, 24 users, load average: 0.13, 0.13, 0.14 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT david tty1 07:06 1:50m 60.68s 0.25s -bash david pts/0 :0 07:06 2:13m 0.08s 0.08s bash ... david pts/3 :0 07:06 50.00s 0.55s 0.47s ssh -X alum ... david pts/16 :0 07:06 0.00s 0.09s 0.00s w ... david pts/20 :0 07:06 3:55 0.42s 0.33s ssh -X alum david pts/21 alum 11:30 8.00s 0.19s 0.19s -bash david tty2 10:02 48:17 0.31s 0.19s -bash west ~ $ getent hosts 127.0.0.1 localhost 127.0.1.1 west 192.168.1.1 router ... 192.168.1.13 wasp 192.168.1.17 agog 192.168.1.19 alum 127.0.0.1 ip6-localhost ip6-loopback west ~ $ w -i 11:35:31 up 4:45, 24 users, load average: 0.01, 0.07, 0.11 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT david tty1 07:06 1:55m 1:02 0.25s -bash david pts/0 :0 07:06 2:17m 0.08s 0.08s bash ... david pts/3 :0 07:06 23.00s 0.67s 0.59s ssh -X alum ... david pts/16 :0 07:06 1:35 0.10s 0.10s bash ... david pts/20 :0 07:06 8:25 0.42s 0.33s ssh -X alum david pts/21 192.168.1.19 11:30 4:38 0.19s 0.19s -bash david tty2 10:02 52:47 0.31s 0.19s -bash west ~ $ and wheezy (nobody at the console): alum ~ $ w 11:38:31 up 5:38, 5 users, load average: 0.00, 0.01, 0.05 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT david pts/0 west 10:48 11:27 1.01s 0.00s -bash ... david pts/3 west 11:30 7:40 0.19s 0.04s ssh -X west david pts/4 west 11:38 7.00s 0.16s 0.00s w alum ~ $ getent hosts 127.0.0.1 localhost 127.0.1.1 alum 192.168.1.1 router ... 192.168.1.13 wasp 192.168.1.15 west 192.168.1.17 agog 127.0.0.1 localhost ip6-localhost ip6-loopback alum ~ $ w -i w: invalid option -- 'i' Usage: ... alum ~ $ Note: the router does no DNS for the local network, only the internet. Sorry I'm no longer running squeeze. Cheers, David.