Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Dec 1999 10:13:02 -0800
From:      Kent Stewart <kstewart@3-cities.com>
To:        Ariel Burbaickij <Ariel.Burbaickij@mni.fh-giessen.de>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: does something like time of time spent on-line exist?
Message-ID:  <3865092E.46C6EAEF@3-cities.com>
References:  <Pine.GSO.4.10.9912251259001.5002-100000@sun33>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3865092E.46C6EAEF>