This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 'uptime' command producing incorrect uptime


On Dec 10 17:50, Steve Thompson wrote:
>  It also appears to
> be wrong for uniprocessor hosts that have been up for more than 49.7 days
> because of the 32-bit value returned by GetTickCount(); my own system
> reported an uptime of 16 days after being up for 66 days.

It's using GetTickCount only if neither GetSystemTimes, nor
NtQuerySystemInformation is available, which is on Win9x.
NT systems shouldn't be affected by this.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]