From owner-freebsd-questions@FreeBSD.ORG Tue Dec 16 05:12:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 915CF1065675 for ; Tue, 16 Dec 2008 05:12:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4F6948FC18 for ; Tue, 16 Dec 2008 05:12:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-68-238.dynamic.qsc.de [92.196.68.238]) by mx02.qsc.de (Postfix) with ESMTP id 24FFC19B7E69; Tue, 16 Dec 2008 06:12:24 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBG5CLCt021559; Tue, 16 Dec 2008 06:12:21 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 16 Dec 2008 06:12:21 +0100 From: Polytropon To: Wojciech Puchar Message-Id: <20081216061221.3a21eebd.freebsd@edvax.de> In-Reply-To: <20081215184718.P55852@wojtek.tensor.gdynia.pl> References: <20081215150931.dbc8ea64.freebsd@edvax.de> <20081215184718.P55852@wojtek.tensor.gdynia.pl> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Uptime logging with (maybe) ppp's log functionality X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 05:12:27 -0000 Many thanks for your ideas. I think I'll use #2 and have start and stop time recorded in epoch format (because its easy to get the substraction result instead of fiddling around with date's ymdhms parameters). This is because I'm not very familiar with ppp's logs, and maybe they provide the needed information in a way that makes it hard to do calculations on it (like, say, the date format from the syylog entries). If the documentation of ppp doesn't answer all upcoming questions, I'd be glad to ask again. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...