From owner-freebsd-current@FreeBSD.ORG Thu Apr 23 04:27:35 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 213BE1065686 for ; Thu, 23 Apr 2009 04:27:35 +0000 (UTC) (envelope-from mel.flynn+fbsd.current@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id E5DE48FC13 for ; Thu, 23 Apr 2009 04:27:34 +0000 (UTC) (envelope-from mel.flynn+fbsd.current@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 26DBC7E837 for ; Wed, 22 Apr 2009 20:27:33 -0800 (AKDT) From: Mel Flynn To: freebsd-current@freebsd.org Date: Thu, 23 Apr 2009 06:27:16 +0200 User-Agent: KMail/1.11.2 (FreeBSD/8.0-CURRENT; KDE/4.2.2; i386; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904230627.16745.mel.flynn+fbsd.current@mailing.thruhere.net> Subject: Statistics collection for TX no longer works X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2009 04:27:35 -0000 Hi, I noticed when upgrading to KDE 4.2.2, the network monitor no longer showed outgoing bandwidth. I blamed this on the app first, but after installing net/bmon the problem is there as well. It uses int mib[] = {CTL_NET, PF_ROUTE, 0, 0, NET_RT_IFLIST, 0}; to read if_msghdr structs and ifm->ifm_data.ifi_obytes. netstat has the same problem: input (em0) output packets errs bytes packets errs bytes colls 199 0 63203 117 0 0 0 193 0 59995 97 0 0 0 185 0 63023 105 0 0 0 200 0 60642 104 0 0 0 199 0 63102 100 0 0 0 215 0 62733 94 0 2891 0 That 2891 is a mystery, all the while I was copying a file remotely at ~150KB/s. FreeBSD sarevok.dnr.servegame.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Apr 17 14:18:41 CEST 2009 mel@sarevok.dnr.servegame.org:/usr/obj/usr/src/sys/SMOOCHIES i386 I saw some net related entries in UPDATING but they make so little sense to me, I shouldn't be affected by it ;). Kernel and world were build/upgraded in sync, make delete-old and delete-old-libs done so I should be in compliance with those entries anyway (20090415 and 14 entries). -- Mel