delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Ronald Fischer <fischerr DOT external AT infineon DOT com> |
Subject: | Finding either boot time or login time |
Date: | Fri, 30 Jan 2009 13:02:29 +0000 (UTC) |
Lines: | 28 |
Message-ID: | <loom.20090130T125737-221@post.gmane.org> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
I'm a bit desperate. I'm looking for a way to find EITHER the time the system was booted, OR the time the last user had logged in, OR the time I had logged in (of course it would be great if I could find all of it, but one of this would already be sufficient). From a past posting to this issue, I got the advice to use the 'last' command, but issuing, for instance, last I only get wtmp begins Thu Jan 29 09:22:40 2009 which is the time wtmp has been created (but there was at least one shutdown and startup after this - why doesn't it show up in wtmp?). Then I thought I could get this information by sysctl -a, but had to learn that this is not implemented. Any other idea what I could try? Ronald -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |