Date: Mon, 7 Aug 2006 23:21:48 -0300 (ADT) From: "Marc G. Fournier" <scrappy@freebsd.org> To: Scott Sipe <cscotts@mindspring.com> Cc: "Marc G. Fournier" <scrappy@freebsd.org>, freebsd-questions@freebsd.org Subject: Re: BSDstats Project v2.0 ... Message-ID: <20060807232017.D7522@ganymede.hub.org> In-Reply-To: <7D8744EB-49F6-4CD4-AAB9-76D86DB57526@mindspring.com> References: <20060807003815.C7522@ganymede.hub.org> <7D8744EB-49F6-4CD4-AAB9-76D86DB57526@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060807232017.D7522>