Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 1997 21:03:51 +0100 (MET)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        mpp@freefall.freebsd.org (Mike Pritchard)
Cc:        joerg_wunsch@uriah.heep.sax.de, freebsd-current@freefall.freebsd.org
Subject:   Re: a last word on last
Message-ID:  <199701122003.VAA01205@gilberto.physik.rwth-aachen.de>
In-Reply-To: <199701121901.LAA11130@freefall.freebsd.org> from Mike Pritchard at "Jan 12, 97 11:01:12 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> J Wunsch wrote:
> > 
> > As Christoph Kukulies wrote:
> > 
> > > But piping the last command to anything, be it 'more' or 'head'
> > > gives totally garbled output. Fields contain garbage and seem to be
> > > shifted by one postition.
> > > 
> > > Can anyone confirm this?
> > 
> > Not confirmed.  `last -10' and `last | head' produce exactly the same
> > output for me.
> 
> Didn't the wtmp file format just change recently (for longer user names?)?  
> I would suggest zeroing out wtmp and seeing what happens.

Well, I zeroed wtmp/utmp several times in the past and the problem
came back. This may because of the various changes to the wtmp/utmp thing.

Anyway, yes, it looks ok now after deleting/touching wtmp/utmp again.
Though some entries will have to accumulate still to get a better picture.

> -- 
> Mike Pritchard
> mpp@FreeBSD.org
> "Go that way.  Really fast.  If something gets in your way, turn"
> 

--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701122003.VAA01205>