From owner-freebsd-questions Thu Jul 19 14:33:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.pelennor.net (mrench.tcinternet.net [209.98.159.250]) by hub.freebsd.org (Postfix) with ESMTP id 2E3D537B403 for ; Thu, 19 Jul 2001 14:33:09 -0700 (PDT) (envelope-from jasapp@pelennor.net) Received: by mail.pelennor.net (Mail, from userid 1003) id EE94F79A; Thu, 19 Jul 2001 16:33:05 -0500 (CDT) Date: Thu, 19 Jul 2001 16:33:05 -0500 From: Jeff Sapp To: Beech Rintoul Cc: freebsd-questions@freebsd.org Subject: Re: netcraft uptime Message-ID: <20010719163305.A27165@pelennor.net> References: <01071912454000.51519@galaxy.anchoragerescue.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01071912454000.51519@galaxy.anchoragerescue.org>; from akbeech@anchoragerescue.org on Thu, Jul 19, 2001 at 12:45:40PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I believe that they figure a computer's uptime by looking at the timestamp option of tcp packets. The field is incremented every 500ms, and is set to 0 on reboot. You can turn the tcp options on by: sysctl -w net.inet.tcp.rfc1323=1 The rfc has lots of cool stuff and it's worth a read. Jeff On Thu, Jul 19, 2001 at 12:45:40PM -0800, Beech Rintoul wrote: > I was looking at netcraft's site today and noticed that uptime doesn't work > with FBSD servers. Anyboy have any info on this? Like how they do it and can > my server be configured to show it? > > TIA > > Beech > -- > Micro$oft: "Where can we make you go today?" > ------------------------------------------------------------------- > Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org > /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission > \ / - NO HTML/RTF in e-mail | P.O. Box 230510 > X - NO Word docs in e-mail | Anchorage, AK 99523-0510 > / \ ----------------------------------------------------------------- > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message