From owner-freebsd-questions@FreeBSD.ORG Wed Nov 1 06:55:29 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BCA016A516 for ; Wed, 1 Nov 2006 06:55:29 +0000 (UTC) (envelope-from kvoznjuk@yandex.ru) Received: from webmail12.mail.yandex.net (webmail12.mail.yandex.net [213.180.223.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E58043D8E for ; Wed, 1 Nov 2006 06:55:20 +0000 (GMT) (envelope-from kvoznjuk@yandex.ru) Received: from YAMAIL (webmail12.yandex.ru) by mail.yandex.ru id ; Wed, 1 Nov 2006 09:55:09 +0300 Received: from [212.26.135.35] ([212.26.135.35]) by mail.yandex.ru with HTTP; Wed, 1 Nov 2006 09:55:06 +0300 (MSK) Date: Wed, 1 Nov 2006 09:55:06 +0300 (MSK) From: "kvoznjuk" Sender: kvoznjuk@yandex.ru Message-Id: <454844CA.000001.27366@webmail12.yandex.ru> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] Errors-To: kvoznjuk@yandex.ru To: freebsd-questions@freebsd.org X-Source-Ip: 212.26.135.35 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: PPPoE statistic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kvoznjuk@yandex.ru List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 06:55:29 -0000 I have gateway with FreeeBSD 6.0 and LAN users get access to Internet through pppoe connection. I can see connection statistic when it alive # pppctl /var/tmp/pppuser3 ! echo UPTIME USER OCTETSIN OCTETSOUT 1:28:46 drgho 148957 504786 but I want to colect this information exactly before conection down. Can I put this command or samething else in ppp.linkdown for this purpose?