I do not have any of these problems with who, but I notice one of my own. "w" and "who" give different answers.
$ w 10:50am up 5 days, 22:09h, 11 users, load average: 0.13, 0.10, 0.03 USER TTY LOGIN@ IDLE JCPU PCPU WHAT root tty1 4:05pm 1:51 0:05 0:05 -bash allen tty2 7:10pm 1:18 0:41 0:40 pine allen tty3 7:03pm 108:32 0:52 0:50 -mc allen tty4 7:03pm 0:02 0:03 0:00 w allen tty5 10:29pm 795:00 0:01 0:01 -bash allen tty8 10:34pm 145:18 0:01 0:00 -telnet.nossl allen tty9 10:35pm 147:33 0:01 0:00 -ssh allen tty12 10:30pm 740:20 0:00 0:00 -bash au_ppp ttyS0 10:30pm 0:30 11:35 11:35 pppd auth login You have mail in /var/spool/mail/allen $ w elm# who root tty1 Aug 10 16:05 allen tty2 Aug 10 19:10 allen tty3 Aug 10 19:03 allen tty4 Aug 10 19:03 allen tty5 Aug 10 22:29 allen tty8 Aug 10 22:34 allen tty9 Aug 10 22:35 allen tty12 Aug 11 22:30 au_ppp ttyS0 Aug 10 22:30 (57600/26400 LAP-M) murray ttyp0 Aug 12 07:49 (debian.fl.net.au) murray ttyp1 Aug 9 11:24 (debian.fl.net.au) elm# "who" has two extra entries, which are wrong. Running hamm with bind 8.1.1-2. Lindsay =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Lindsay Allen <[EMAIL PROTECTED]> Perth, Western Australia voice +61 8 9316 2486 modem +61 8 9364-9832 32S, 116E =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= On Mon, 11 Aug 1997, Jens B. Jorgensen wrote: > Eloy A. Paris wrote: > > > > Same here: "who" takes quite a bit of time to run because it seems to be > > trying to do a reverse DNS lookup. There is something strange here > > because I have a local named process that serves my IN-ADDR.ARPA zone > > so reverse lookups should be local and that should be pretty fast. > > > > Anyone has any ideas of what's going on with "who"? > > > > Thanks, > > > > E.- > > > > Donovan Baarda <[EMAIL PROTECTED]> wrote: > > > > : I am using bind as a caching name server and have found that it seems to > > : be very slow when doing reverse DNS lookups. In particular, it seems to be > > : only caching them for about 5 minutes, and is very slow (up to 2 minutes) > > : when it is not in the cache. It first showed up when using "who" with > > : people telnet connected. "Who" likes to show the hostname telneted from. > > > > : Another thing interesting is the hostnames that are being looked up are in > > : my /etc/hosts file, but still take ages. An strace of who shows that "who" > > : is doing something with the hosts file, and then trying "named" and timing > > : out and retrying a few times before it completes. There is nothing > > : reported in my logs. > > Ditto here. I just upgraded our main office's slakware machine to > Debian 1.3.1 and got complaints right away about "who" slowness. > > -- > Jens B. Jorgensen > [EMAIL PROTECTED] > > > -- > TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to > [EMAIL PROTECTED] . > Trouble? e-mail to [EMAIL PROTECTED] . > > -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .