find date of last boot

Matthew Seaman m.seaman at
Fri Jun 8 06:27:33 UTC 2012

On 08/06/2012 07:23, Chris Knipe wrote:
>> It's not that.  'last reboot' seems to be broken at the moment, at least
>> on stable/9:
>> but last(1) isn't coming up with the goods:
>> lucid-nonsense:~:% last reboot
>> wtmp begins Fri Jun  1 06:14:46 BST 2012
> last reads from /var/log/wtmp - which more than likely got rotated
> since your last reboot.

No.  Please read more carefully.

last(1) used to use /var/log/wtmp, but not on 9.x or above, which uses
/var/log/utx.log -- a different binary format, but basically the same
idea as wtmp.

And, no: as I showed, that file was not rotated since my last reboot.



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
JID: matthew at               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list