find date of last boot
Randal L. Schwartz
merlyn at stonehenge.com
Fri Jun 8 04:55:45 UTC 2012
>>>>> "Chris" == Chris Hill <chris at monochrome.org> writes:
Chris> I'll credit Doug Hardie with the best solution:
Chris> $ ls -l /var/run/dmesg.boot
Chris> -rw-r--r-- 1 root wheel 7248 Dec 26 2010 /var/run/dmesg.boot
Ouch! There've been some security patches since then. Are you sure you
want to tell someone that a machine has been running for over 18 months?
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
More information about the freebsd-questions