From owner-freebsd-questions@FreeBSD.ORG Fri Jun 8 01:44:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4907106564A for ; Fri, 8 Jun 2012 01:44:22 +0000 (UTC) (envelope-from racerx@makeworld.com) Received: from omr13.networksolutionsemail.com (omr13.networksolutionsemail.com [205.178.146.63]) by mx1.freebsd.org (Postfix) with ESMTP id 766748FC0C for ; Fri, 8 Jun 2012 01:44:22 +0000 (UTC) Received: from cm-omr4 (mail.networksolutionsemail.com [205.178.146.50]) by omr13.networksolutionsemail.com (8.13.8/8.13.8) with ESMTP id q581iLTh024274 for ; Thu, 7 Jun 2012 21:44:21 -0400 Authentication-Results: cm-omr4 smtp.user=racerx@makeworld.com; auth=pass (CRAM-MD5) X-Authenticated-UID: racerx@makeworld.com Received: from [50.44.138.106] ([50.44.138.106:57792] helo=[192.168.222.21]) by cm-omr4 (envelope-from ) (ecelerity 2.2.2.41 r(31179/31189)) with ESMTPA id 82/BC-30503-5F851DF4; Thu, 07 Jun 2012 21:44:21 -0400 Message-ID: <4FD158FC.1000906@makeworld.com> Date: Thu, 07 Jun 2012 20:44:28 -0500 From: Chris User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> <86obou7fly.fsf@red.stonehenge.com> In-Reply-To: <86obou7fly.fsf@red.stonehenge.com> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: find date of last boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2012 01:44:22 -0000 On 6/7/2012 8:32 PM, Randal L. Schwartz wrote: >>>>>> "Chris" == Chris 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. -- Keep well, Chris <><