This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Finding either boot time or login time
- From: Ronald Fischer <fischerr dot external at infineon dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 30 Jan 2009 13:02:29 +0000 (UTC)
- Subject: Finding either boot time or login time
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/