find date of last boot

Randal L. Schwartz merlyn at
Fri Jun 8 04:58:04 UTC 2012

>>>>> "Chuck" == Chuck Swiger <cswiger at> writes:

Chuck> FreeBSD aggressively rotates the utmp/wtmp databases; most other
Chuck> platforms leave it in place until the sysadmin decides to rotate
Chuck> it per local policy.

Chuck> Tweaking the monthly? periodic entries would change this, I'd
Chuck> imagine....

Sure, but the question was likely involving a stock system, so yes, your
mileage may vary, but let's consider a solution that works for a default
system.  "last reboot" isn't it.

Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at> <URL:>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See for Smalltalk discussion

More information about the freebsd-questions mailing list