Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jun 2012 07:27:25 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Chris Knipe <savage@savage.za.org>
Cc:        FreeBSD - <freebsd-questions@freebsd.org>, "Randal L. Schwartz" <merlyn@stonehenge.com>
Subject:   Re: find date of last boot
Message-ID:  <4FD19B4D.8070508@infracaninophile.co.uk>
In-Reply-To: <CA%2B4TWFsiACgzdOms0f%2BpH%2BffckYKsOcJTkAXnihwDt68YWi4og@mail.gmail.com>
References:  <4FD1360D.1060208@a1poweruser.com> <alpine.BSF.2.00.1206072110350.67420@tripel.monochrome.org> <4FD15461.6090109@makeworld.com> <86obou7fly.fsf@red.stonehenge.com> <5E0240CD-6B6C-4221-A656-0006254132F9@mac.com> <86ipf276g7.fsf@red.stonehenge.com> <4FD19973.5040802@infracaninophile.co.uk> <CA%2B4TWFsiACgzdOms0f%2BpH%2BffckYKsOcJTkAXnihwDt68YWi4og@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3013D58552728A34BE5A078E
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 08/06/2012 07:23, Chris Knipe wrote:
>> It's not that.  'last reboot' seems to be broken at the moment, at lea=
st
>> on stable/9:
>=20
>> but last(1) isn't coming up with the goods:
>>
>> lucid-nonsense:~:% last reboot
>>
>> wtmp begins Fri Jun  1 06:14:46 BST 2012
>=20
> 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.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW




--------------enig3013D58552728A34BE5A078E
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/Rm00ACgkQ8Mjk52CukIymqQCeILfAKM+P79lW/x0x1RtX8Gpu
L+EAn1/WjtuOwv4EKc4vHr4o3w5ctDao
=QoCW
-----END PGP SIGNATURE-----

--------------enig3013D58552728A34BE5A078E--



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