From owner-freebsd-current@FreeBSD.ORG Sat Jun 7 14:19:52 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 820821D5 for ; Sat, 7 Jun 2014 14:19:52 +0000 (UTC) Received: from mail-pd0-x232.google.com (mail-pd0-x232.google.com [IPv6:2607:f8b0:400e:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 55F292154 for ; Sat, 7 Jun 2014 14:19:52 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id v10so3566808pde.23 for ; Sat, 07 Jun 2014 07:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:thread-index :content-language; bh=Vg0fLHycdv0HDXn7OhGgO+USMqkbyFr/h2za5TV2BQo=; b=ZELuSwvI5LLaLX9Yy65+tCCqB/QawZEr7ntSSknz+oy+ywH3ZRccY6on41TbQY+D1L roijpfrLi9q06ebVOhjbl+IV/4Ovs4kNIobBRHZ9cPQcA0Fn0G6pBytjxnNZDuUNqvll Vx6c8L3NIiad7ZHo2JLzlW3+q38e1KN3bAqh3AoqfZ6yp4St2IDS6TXpXYmNTp5O5hn8 KWfY7WqJ4NTburKuR28OyFCFFlx8irDsCk6mnl9/RLcR9FSFdxmypn4wGfU567KQvUDB 9Xw4Id76yQr7sXYoPutiqwWhLvBZtgKI1Elc87723ZHt0sGgQqDMToU5nD//L/nkwrDT w/2w== X-Received: by 10.68.196.137 with SMTP id im9mr12434989pbc.105.1402150791825; Sat, 07 Jun 2014 07:19:51 -0700 (PDT) Received: from billwin7 (amx-tls2.starhub.net.sg. [203.116.164.12]) by mx.google.com with ESMTPSA id fv2sm49246366pbd.11.2014.06.07.07.19.49 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 07 Jun 2014 07:19:51 -0700 (PDT) From: "bycn82" To: "'Stefan Ehmann'" References: <5392DACF.4050401@gmx.net> <006e01cf824d$7e2684e0$7a738ea0$@gmail.com> <53931473.2020108@gmx.net> In-Reply-To: <53931473.2020108@gmx.net> Subject: RE: wlan0/iwn: no upload statistics Date: Sat, 7 Jun 2014 22:19:47 +0800 Message-ID: <017c01cf825b$8bf3a8b0$a3dafa10$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQICoQOrUzCZcdWxIPDG6Ib7w6v4kgJtgdrYAnURnrWa2F7BQA== Content-Language: en-us Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Sat, 07 Jun 2014 14:19:52 -0000 Hi, 1. I checked the source code of systat, it actually read from the = mibdata, so the result should be the same as sysctl.=20 2. According to David's email, seems the netstat can show the correct = output octets.=20 Sorry I don=E2=80=99t have wireless network interface on my testing = environment, but I noticed that the mibdta structure was changed = recently, =20 Best Regards, bycn82 > -----Original Message----- > From: Stefan Ehmann [mailto:shoesoft@gmx.net] > Sent: 07 June, 2014 21:33 > To: bycn82; freebsd-current@freebsd.org > Subject: Re: wlan0/iwn: no upload statistics >=20 > On 07.06.2014 14:39, bycn82 wrote: > > Hi, >=20 > Seem it was not clear in my original post: Only the wireless interface > is affected. lo0 shows upload stats. >=20 > > More information is required. Please provide the output of the two > > commands below > > > > 1. sysctl -a | grep octets >=20 > iwn0/wlan0 don't appear here: > dev.em.0.mac_stats.good_octets_recvd: 0 > dev.em.0.mac_stats.good_octets_txd: 0 >=20 >=20 > > 2. uname -a > FreeBSD tomorrow.pepperland 11.0-CURRENT FreeBSD 11.0-CURRENT #8 > r267126: Fri Jun 6 06:14:13 CEST 2014 > stefan@tomorrow.pepperland:/usr/obj/usr/src/sys/TOMORROW amd64