From: Ronald Fischer <fischerr.external@infineon.com>
To: cygwin@cygwin.com
Subject: Re: Finding either boot time or login time
Date: Fri, 30 Jan 2009 15:58:00 -0000 [thread overview]
Message-ID: <loom.20090130T152913-409@post.gmane.org> (raw)
In-Reply-To: <4982FB77.7020505@byu.net>
Eric Blake <ebb9 <at> byu.net> writes:
> man uptime
I have thought of uptime, but this requires doing date calculation (I have to
subtract the uptime from the current time), which I wanted to avoid; plus I
wanted to have it reproducible (i.e. if I calculate the "startup time" twice
in succession, I wanted to get the same result - using the uptime calculation
might well give differences of, say, one, in rare cases 2, seconds for the
startup time on repeated calculations.
But it seems there is no alternative. I had not expected that Windows would
not log such events, like starting up or having some user logged in...
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/
next prev parent reply other threads:[~2009-01-30 15:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-30 15:33 Ronald Fischer
2009-01-30 15:58 ` Eric Blake
2009-01-30 15:58 ` Ronald Fischer [this message]
2009-01-30 16:43 ` Fabian Cenedese
2009-01-30 17:02 ` Mark J. Reed
2009-02-02 14:11 ` Ronald Fischer
2009-02-02 14:34 ` Jerry D. Hedden
2009-02-02 20:28 ` Mark J. Reed
2009-01-30 22:08 ` Brian Mathis
2009-01-30 22:45 ` Owen Rees
2009-02-02 16:54 Cooper, Karl (US SSA)
2009-02-02 17:37 ` Owen Rees
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20090130T152913-409@post.gmane.org \
--to=fischerr.external@infineon.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).