From owner-freebsd-questions Wed Sep 5 7:43:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 1F9E237B407 for ; Wed, 5 Sep 2001 07:42:44 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f85EftD74412; Wed, 5 Sep 2001 17:41:55 +0300 (EEST) (envelope-from ru) Date: Wed, 5 Sep 2001 17:41:55 +0300 From: Ruslan Ermilov To: Mike Brown Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 'w -n' returning hostnames, not IPs. bug? Message-ID: <20010905174155.U96906@sunbay.com> References: <200109050004.f8504JZ56829@skew.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109050004.f8504JZ56829@skew.org>; from mike@skew.org on Tue, Sep 04, 2001 at 06:04:19PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Sep 04, 2001 at 06:04:19PM -0600, Mike Brown wrote: > On my FreeBSD 4.3-STABLE (01 Aug) system, the 'w' command seems > to have a broken '-n' functionality. It displays hostnames rather > than IP numbers. > > Another system built the same day does not have any problems > problems with 'w -n', displaying the IP numbers like it should. > > Both systems have the same source in /usr/src/usr.bin/w. > > What could be causing 'w -n' on one system to return hostnames > instead of IP numbers? > Make sure the w(1) in question is /usr/bin/w. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message