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 Subject: Finding either boot time or login time Date: Fri, 30 Jan 2009 13:02:29 +0000 (UTC) Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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/