Minor problem with 64bTT: monthly accounting figures

Garance A Drosihn drosih at rpi.edu
Mon Mar 1 11:03:11 PST 2004


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 at gilead.netel.rpi.edu
Senior Systems Programmer           or  gad at freebsd.org
Rensselaer Polytechnic Institute    or  drosih at rpi.edu


More information about the freebsd-sparc64 mailing list