Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 1999 08:44:15 -0500
From:      Guy Helmer <ghelmer@scl.ameslab.gov>
To:        Dan Langille <junkmale@xtra.co.nz>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: monthly accounting contains crap
Message-ID:  <Pine.SGI.4.05.9904050836390.8009-100000@demios.scl.ameslab.gov>
In-Reply-To: <19990401225409.BZHR5454377.mta1-rme@wocker>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2 Apr 1999, Dan Langille wrote:

> On 31 Mar 99, at 13:11, Guy Helmer wrote:
>=20
> > On Thu, 1 Apr 1999, Dan Langille wrote:
> >
> > > Today I received the first monthly run from my cron jobs since upgrad=
ing
> > > to 3.1-stable.  And it contains stuff like this:
> > >
> > > =09=AB=D6=E46ftp27024         0.00
> > > =09=AB=D4=DA6ttyv1            0.00
> > > =09=ABS=DF6ftp5064          0.00
> > > =09=AB/=EB6ftp12674         0.00
> > >
> > > Which looks like crap to me.  What's going on?
> >
> > Did you upgrade from a 2.x system?  If so, you probably didn't clear
> > /var/account/{sav,usr}acct, and the size of the accounting records chan=
ged
> > due to the change to 16-character user names...
>=20
> Yes.  I did such an upgrade this month.  At present, /var/account is
> empty.  I suspect that's because of the month rollover.  Does that make
> sense?

I was confused -- this must have been from old entries in your
/var/log/wtmp.

> Will this occur again next month or will the empty /var/account take care
> of that?

The monthly rollover of wtmp ought to take care of it.

> BTW: anyone written a program to convert the old stuff to the new?

Probably not.  It would be a pretty easy Perl script, though.

Guy

Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Scienc=
e=20
Research Assistant, Ames Laboratory       ---         ghelmer@scl.ameslab.g=
ov
Research Assistant, Dept. of Computer Science   ---   ghelmer@cs.iastate.ed=
u
http://www.cs.iastate.edu/~ghelmer



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?Pine.SGI.4.05.9904050836390.8009-100000>