From owner-freebsd-questions Sat Dec 25 10:12: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from corinth.bossig.com (corinth.bossig.com [208.26.239.66]) by hub.freebsd.org (Postfix) with ESMTP id 0EB20151AE for ; Sat, 25 Dec 1999 10:11:58 -0800 (PST) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (kenn2179.bossig.com [208.26.242.179]) by corinth.bossig.com (Rockliffe SMTPRA 3.4.5) with ESMTP id ; Sat, 25 Dec 1999 10:18:52 -0800 Message-ID: <3865092E.46C6EAEF@3-cities.com> Date: Sat, 25 Dec 1999 10:13:02 -0800 From: Kent Stewart Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Ariel Burbaickij Cc: freebsd-questions@FreeBSD.ORG Subject: Re: does something like time of time spent on-line exist? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ariel Burbaickij wrote: > > I use FreeBSD on my home computer the method of connection to provider > is dial-up user PPP.I would like to know does something like timer of > already spent on-line time exist?We have to pay on time-basis here in > Germany even for local connections.So time spent is relevant for me. I use pppctl to look at the timers. There is an example in "man pppctl" for the status. It shows you the connect time. You could do 'pppctl to "show phy" | grep "Connect time"'. I use the local domain socket and my show phy alias for root is status (pppctl /var/run/internet show phy) I created an alias called "conn" by combining status and the grep. It shows the connect time. I start user-ppp as root and you have to be logged in as the user that started user-ppp to run pppctl. Regards, Kent > > kind regards, > Ariel > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message