From owner-freebsd-advocacy Sat Apr 21 18:15:52 2001 Delivered-To: freebsd-advocacy@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 0AFCE37B422 for ; Sat, 21 Apr 2001 18:15:49 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 479E46ACBA; Sun, 22 Apr 2001 10:45:46 +0930 (CST) Date: Sun, 22 Apr 2001 10:45:46 +0930 From: Greg Lehey To: "Thomas M. Sommers" Cc: advocacy@FreeBSD.ORG Subject: Re: top uptime! Message-ID: <20010422104546.A51968@wantadilla.lemis.com> References: <20010421093009.M72002@wantadilla.lemis.com> <20010420212338.Z41536@bsd.havk.org> <3AE0FADE.5801FF96@mail.ptd.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AE0FADE.5801FF96@mail.ptd.net>; from tms2@mail.ptd.net on Fri, Apr 20, 2001 at 11:13:34PM -0400 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-advocacy@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 20 April 2001 at 23:13:34 -0400, 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). That makes 24855 days. Unsigned, it would be 49710 days. Obviously the counter isn't in seconds (it's in "jiffies"). Guess how long a jiffy is. I've been told that this problem has been fixed in the 2.4 kernel. Obviously it's too early to see the results of this fix. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-advocacy" in the body of the message