From owner-freebsd-advocacy Sat Apr 21 5: 6:11 2001 Delivered-To: freebsd-advocacy@freebsd.org Received: from mail.hiwaay.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 6F0A737B422 for ; Sat, 21 Apr 2001 05:06:09 -0700 (PDT) (envelope-from steve@havk.org) Received: from bsd.havk.org (user-24-214-92-252.knology.net [24.214.92.252]) by mail.hiwaay.net (8.11.3/8.11.3) with ESMTP id f3LC5x504187; Sat, 21 Apr 2001 07:05:59 -0500 (CDT) Received: by bsd.havk.org (Postfix, from userid 1001) id 404BC1A7D8; Sat, 21 Apr 2001 07:05:57 -0500 (CDT) Date: Sat, 21 Apr 2001 07:05:57 -0500 From: Steve Price To: Wes Peters Cc: "Thomas M. Sommers" , advocacy@FreeBSD.ORG Subject: Re: top uptime! Message-ID: <20010421070557.D41536@bsd.havk.org> References: <20010421093009.M72002@wantadilla.lemis.com> <20010420212338.Z41536@bsd.havk.org> <3AE0FADE.5801FF96@mail.ptd.net> <3AE111DB.BE02664D@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AE111DB.BE02664D@softweyr.com>; from wes@softweyr.com on Fri, Apr 20, 2001 at 10:51:39PM -0600 X-Operating-System: FreeBSD 4.3-RC i386 Sender: owner-freebsd-advocacy@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 20, 2001 at 10:51:39PM -0600, Wes Peters wrote: > "Thomas M. Sommers" wrote: > > > > Steve Price wrote: > > > > > >. However the uptime counter > > > (cat /proc/uptime) is counted in seconds in a 32bit variable. So it > > > isn't possible for a Linux box to show more than 497 days of uptime > > > because the uptime rolls over then. FWIW. > > > > But 497 days is only about 4.3e7 seconds, whereas 32 bits can count > > about 2e9 seconds (signed). > > Microseconds? microseconds, milliseoconds, jiffies, spiffies, ... who the heck cares. The point was that Linux has a 32-bit variable that it uses to keep track of uptime with. That counter rolls over at 497 days or so I'm led to believe. So someone (or some box) running Linux can't legitimately claim to have an uptime longer than that. I've been told that is why you don't see Linux at the Netcraft link provided earlier. I didn't actually whip out pen and paper or a calculator to try and do the math. I could care less about what Linux can and cannot do. I was just passing on information that had been given to me that seemed plausible and relevant to this discussion. Pick nits if you must. I'm going back to finish up the Alpha package bits for the 4.3 release. -steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-advocacy" in the body of the message