From owner-freebsd-questions Sun Nov 19 17:25:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 19DD537B479 for ; Sun, 19 Nov 2000 17:25:38 -0800 (PST) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sun, 19 Nov 2000 17:24:05 -0800 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id eAK1PMv24276; Sun, 19 Nov 2000 17:25:22 -0800 (PST) (envelope-from cjc) Date: Sun, 19 Nov 2000 17:25:22 -0800 From: "Crist J . Clark" To: Sefkan Botani Cc: freebsd-questions@FreeBSD.ORG Subject: Re: command `who` fails (?) Message-ID: <20001119172522.G12190@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <20001119190655.B23989@peorth.iteration.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from sefkan@tr909.trackstar.org on Sun, Nov 19, 2000 at 05:13:52PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Nov 19, 2000 at 05:13:52PM -0800, Sefkan Botani wrote: > > hello, > > I believe I've found a small quirk in the "who" command. > "who" does not correctly display who is on my machine. > > I've confirmed this by trying the "last" command. > > Here's some output: > > command who: > > root ttyv1 Nov 19 15:40 > root ttyv2 Nov 19 15:41 > sereciya ttyv4 Nov 19 15:59 > sereciya ttyp0 Nov 19 16:03 (:0.0) > sereciya ttyp1 Nov 19 17:08 (:0.0) > sereciya ttyp3 Nov 19 16:39 (:0.0) > > command "last andy": > > andy ttyp2 63.195.17.39 Sun Nov 19 16:38 - 16:39 > (00:01) > andy ttyp2 63.195.17.39 Sun Nov 19 16:34 - 16:35 > (00:00) > andy ttyp2 63.195.17.39 Sun Nov 19 16:09 - 16:18 > (00:08) > > > what's going on? $ man who WHO(1) FreeBSD General Commands Manual WHO(1) NAME who - display who is logged in SYNOPSIS who am I who [file] DESCRIPTION The who utility displays a list of all users currently logged on ^^^^^^^^^ ^^^^^^ ^^ It looks like 'andy' was logged off when you ran the who(1). Was he not? If the user is still logged in, the last field of the last(1) output is 'still logged in' rather than a logout time and duration. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message