From owner-freebsd-questions@FreeBSD.ORG Tue Aug 8 02:21:54 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 037B816A4DA; Tue, 8 Aug 2006 02:21:54 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FAB543D93; Tue, 8 Aug 2006 02:21:44 +0000 (GMT) (envelope-from scrappy@freebsd.org) Received: from localhost (wm.hub.org [200.46.204.128]) by hub.org (Postfix) with ESMTP id C1D67291B00; Mon, 7 Aug 2006 23:21:37 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 60140-07; Tue, 8 Aug 2006 02:21:43 +0000 (UTC) Received: from ganymede.hub.org (blk-224-179-167.eastlink.ca [24.224.179.167]) by hub.org (Postfix) with ESMTP id 34091291AF8; Mon, 7 Aug 2006 23:21:37 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1027) id 041885CAF0; Mon, 7 Aug 2006 23:21:49 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 030635CA25; Mon, 7 Aug 2006 23:21:49 -0300 (ADT) Date: Mon, 7 Aug 2006 23:21:48 -0300 (ADT) From: "Marc G. Fournier" X-X-Sender: freebsd@ganymede.hub.org To: Scott Sipe In-Reply-To: <7D8744EB-49F6-4CD4-AAB9-76D86DB57526@mindspring.com> Message-ID: <20060807232017.D7522@ganymede.hub.org> References: <20060807003815.C7522@ganymede.hub.org> <7D8744EB-49F6-4CD4-AAB9-76D86DB57526@mindspring.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "Marc G. Fournier" , freebsd-questions@freebsd.org Subject: Re: BSDstats Project v2.0 ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2006 02:21:54 -0000 On Mon, 7 Aug 2006, Scott Sipe wrote: > + UP=`/usr/bin/uptime | /usr/bin/grep -o "up [^,]*,[^,]*,"` Is there a way of getting this consistently in seconds? I've checked sysctl, and 6.x seems to have some of the information there, but 4.x definitely doesn't ... And, uptime would definitely be another 'opt-in' feature, not required ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664