Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 1997 14:39:46 -0800 (PST)
From:      Kwoody <kwoody@citytel.net>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Log times for ppp...
Message-ID:  <Pine.BSF.3.91.971215143013.15379A-100000@mybsd.net>

next in thread | raw e-mail | index | archive | help
I'm using ppp in -auto mode and have noticed that in the log file that 
after I issue a kill -INT to ppp I see that it shows how long the 
connection was up in seconds. 

So I wrote a little awk script to pull those value's out and add them up 
so I can track my times and see when PPP is dialing out etc.

But I have rc5 running on a couple of machines and they want to call out 
at random times when they need new blocks or to send anything out. 
Unfortunatly the only thing I can do is to let the connection time out 
and ppp does not record the lenght of time the connection was up when a 
connection idles out. 

My awk script does not pick that info out of the log file since its not 
there. 

Is there a way to force ppp to log the lenth of time a connection was up? 
I looked into the set log options but nothing there seemed to do what I want.

I use ppp from 08/20 of this year. Does any newer version have anything 
like that?

thanks,
Keith



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.971215143013.15379A-100000>