Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2004 14:03:08 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Maxime Henrion <mux@freebsd.org>, Tillman Hodgson <tillman@seekingfire.com>
Cc:        sparc64@freebsd.org
Subject:   Re: Minor problem with 64bTT: monthly accounting figures
Message-ID:  <p060204a1bc6936fd1174@[128.113.24.47]>
In-Reply-To: <20040301150312.GQ35475@elvis.mu.org>
References:  <20040301145508.GA27240@seekingfire.com> <20040301150312.GQ35475@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 4:03 PM +0100 3/1/04, Maxime Henrion wrote:
>Tillman Hodgson wrote:
>>  Look a little odd this month:
>>
>>  Subject: caliban.rospa.ca monthly run output
>>
>>  Doing login accounting:
>>          root                 0.84
>>          total            -298848.27
>>          toor             -298849.12
>>
>  > -- End of monthly output --

This would be from the output of the 'ac' command.  I tried
this on my 64-bTT machine, and it seemed to be working OK.

>This is probably because the time is stored as a 32-bits integer
>in /var/run/utmp and /var/log/wtmp.

If the time-value is defined as a fixed 32-bit integer (instead
of being time_t), then the records themselves should be fine.  The
records (as written) won't be changing in size due to this change.

So, if there is a bug here then it'll probably be in the 'ac'
program.  That's my guess, at least.  We can look into that some
more, but don't need to address it right away.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



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