Date: Sun, 19 Nov 2000 17:25:22 -0800 From: "Crist J . Clark" <cjclark@reflexnet.net> To: Sefkan Botani <sefkan@tr909.trackstar.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: command `who` fails (?) Message-ID: <20001119172522.G12190@149.211.6.64.reflexcom.com> In-Reply-To: <Pine.BSF.4.21.0011191710210.66609-100000@tr909.trackstar.org>; from sefkan@tr909.trackstar.org on Sun, Nov 19, 2000 at 05:13:52PM -0800 References: <20001119190655.B23989@peorth.iteration.net> <Pine.BSF.4.21.0011191710210.66609-100000@tr909.trackstar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001119172522.G12190>
