Messages in this thread | | | Subject | Re: uptime wrong in 2.5.70 | From | john stultz <> | Date | 13 Jun 2003 15:05:24 -0700 |
| |
On Fri, 2003-06-13 at 13:34, george anzinger wrote: > Clemens Schwaighofer wrote: > > I a got a test vmware running with a 2.5.70 and I have sligh "overflow" > > with my uptime. > > > > gentoo root # uptime > > 22:29:47 up 14667 days, 19:08, 3 users, load average: 0.00, 0.00, 0.00 > > Uptime currently reports a conversion of jiffies which is currently > jacked up to a few seconds short of 32 bits worth of jiffies (for > testing purposes).
Any access to jiffies should be subtracting INITIAL_JIFFIES, so uptime should still work correctly. I've been unable to reproduce this problem, so if anyone else sees it I'd love to get more info.
> I have a patch pending with Andrew to convert uptime to use the POSIX > monotonic clock which a) will start at 0 at boot time and b) will > account for NTP clock adjustments. Should give an uptime real close > to the best of watches (or even better) :)
Sounds interesting.
-john
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |