find date of last boot

Chris racerx at makeworld.com
Thu Jun 7 23:38:11 UTC 2012


On 6/7/2012 6:31 PM, Bill Yuan wrote:
> If you store the time in a file as log everytime when it boots up,
> then that means you can have more then "now -  uptime"
> 
> On Fri, Jun 8, 2012 at 7:20 AM, Chris Hill <chris at monochrome.org> wrote:
> 
>> On Thu, 7 Jun 2012, Fbsd8 wrote:
>>
>> dmesg command does not show date of last boot.
>>>
>>> Are there some other commands to find date of last boot?
>>>
>>
>> Perhaps somehow subtract `uptime` from today's date?
>>
>> --
>> Chris Hill               chris at monochrome.org
>> **                     [ Busy Expunging </> ]
>>
>> ______________________________**_________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
>> To unsubscribe, send any mail to "freebsd-questions-**
>> unsubscribe at freebsd.org <freebsd-questions-unsubscribe at freebsd.org>"
>>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
> 
> 


Try the command,  last
maybe that will give you some info that you are looking for.


-- 
Keep well,

Chris
 <><


More information about the freebsd-questions mailing list