Re: hrSystemUptime gives wrong result under Windows box
Bart Van Assche <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Oct 28, 2009 at 8:29 PM, Mike Ayers <[email protected]> wrote: > Please review: > > http://support.microsoft.com/kb/169847 > http://www.ietf.org/rfc/rfc1213.txt?number=1213 > > Note that the spec indicates TimeTicks are hundredths of a second, but > Microsoft's documentation interprets them as milliseconds. This has always > been a problem, expect it to always be a problem. Just divide your uptimes > by ten for Windows systems. > The KB article cited above discusses sysUpTime instead of hrSystemUptime. By searching for "hrSystemUptime site:microsoft.com" I found out that Microsoft documents hrSystemUptime as follows: *Time since the host was initialized last (1/100 sec)*. So Microsoft's documentation contradicts their implementation. See also http://msdn.microsoft.com/en-us/library/aa915261.aspx. Bart. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users