X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Ronald Fischer <fischerr.external@infineon.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
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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

