find date of last boot
racerx at makeworld.com
Fri Jun 8 01:44:22 UTC 2012
On 6/7/2012 8:32 PM, Randal L. Schwartz wrote:
>>>>>> "Chris" == Chris <racerx at makeworld.com> writes:
> Chris> Why create something that is already built in?
> Chris> As I mentioned previously, the last command lists when the system was
> Chris> rebooted.
> You must reboot a lot. My "last" log goes back only to the first of the
> month, and my uptime is 16 days right now, so I can't see the most
> recent reboot with last.
> YMMV, I guess.
Good point, I didn't take into account the command goes about a month
back. I run FBSD in a vbox, and its only console anyways.
I run Debian by default but in any event, there are many reasons for
reboots and for me (typically) I see about 4 reboots a month mostly due
to patching and sec-fixes.
So indeed, YMMV is correct.
My fault for the assumption that folks boot more often than not.
More information about the freebsd-questions