From owner-freebsd-current@FreeBSD.ORG Thu Jun 17 16:31:44 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0830106567C for ; Thu, 17 Jun 2010 16:31:44 +0000 (UTC) (envelope-from snabb@epipe.com) Received: from tiktik.epipe.com (tiktik.epipe.com [IPv6:2001:470:8940:10::1]) by mx1.freebsd.org (Postfix) with ESMTP id 90C7E8FC13 for ; Thu, 17 Jun 2010 16:31:44 +0000 (UTC) Received: from tiktik.epipe.com (tiktik.epipe.com [IPv6:2001:470:8940:10::1]) by tiktik.epipe.com (8.14.3/8.14.3) with ESMTP id o5HGVgW9089557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 Jun 2010 16:31:43 GMT (envelope-from snabb@epipe.com) X-DKIM: Sendmail DKIM Filter v2.8.3 tiktik.epipe.com o5HGVgW9089557 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=epipe.com; s=default; t=1276792303; x=1277397103; bh=V9drrlAWBwejqdFVpFekBPBAnics6HAKHAp4anqCa9M=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=fSPOfkWANwmka/NFb4dZMN0X81drgSR18ZQKfbTpmlddncUEKi3OCZcsURVP28Lbd htZuWaWU/ED6wgCbH2hvwEZvWgrBRwdRO3664Y2s9Ff1Y6/tdIUHlwuu2UWQ+XScdq j6i+iUaElZ5hkN46utBN06EQ8LdA6LYqdHqgAZ64= Date: Thu, 17 Jun 2010 16:31:37 +0000 (UTC) From: Janne Snabb To: Andy Farkas In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.5 (tiktik.epipe.com [IPv6:2001:470:8940:10::1]); Thu, 17 Jun 2010 16:31:43 +0000 (UTC) X-Mailman-Approved-At: Thu, 17 Jun 2010 17:21:41 +0000 Cc: freebsd-current@FreeBSD.ORG Subject: Re: an addition to top(1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2010 16:31:45 -0000 On Sat, 19 Dec 1998, Andy Farkas wrote: > I've always thought that top(1) should display the system > uptime. Here's a patch. The code was cut straight out of > /usr/src/usr.bin/w/w.c My apologies for a late reply :) but that code displays 30 seconds longer uptime than what it really is. See PR bin/147934 at http://www.freebsd.org/cgi/query-pr.cgi?pr=147934 for more details and a patch. Best Regards, -- Janne Snabb / EPIPE Communications snabb@epipe.com - http://epipe.com/