From owner-freebsd-current@FreeBSD.ORG Wed Jun 11 13:06:49 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40CC3AEE for ; Wed, 11 Jun 2014 13:06:49 +0000 (UTC) Received: from mail-pb0-x234.google.com (mail-pb0-x234.google.com [IPv6:2607:f8b0:400e:c01::234]) (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 14977252A for ; Wed, 11 Jun 2014 13:06:49 +0000 (UTC) Received: by mail-pb0-f52.google.com with SMTP id rr13so7383369pbb.25 for ; Wed, 11 Jun 2014 06:06:48 -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=a/iZyc8jy1Z3Z9uS6/nRY34eNMmrJksdoUQ7uLvx4+E=; b=ef9qPvhyJGl4LqPwjz3rxAAJ5FMarsxnVGTu6GYn7Ug/CJ9OWRn1jotKJ9GdnKso8v tJF+zOxOxe3jYyF2pk4KLDObHiYyecugqO0N+K4Q67OhRhLDb79dDTGvxsCTo4EA1HJZ 42+5ladCzr4GEWbEaAyB++DKnCU+N0VGd5jxzCJc5LAzYbCATUuEuQGHiiZP6PquNOxA wI3sVh8E+z2IDOmAsHNk/TY3aoPCXEizZGP88aOkbxwLcufdfAx7KdL9XwVASPkJTdwj TnAzcE+yLw4fgagz3HzEuuejFbRG0UzmpyyNw/XusAz86L3Ec8Z0r9Ixgy9DvJ528dTU Ys1Q== X-Received: by 10.66.227.4 with SMTP id rw4mr12928120pac.18.1402492008632; Wed, 11 Jun 2014 06:06:48 -0700 (PDT) Received: from billwin7 (amx-tls2.starhub.net.sg. [203.116.164.12]) by mx.google.com with ESMTPSA id ek2sm75014767pbd.30.2014.06.11.06.06.46 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Jun 2014 06:06:48 -0700 (PDT) From: "bycn82" To: "'Marcus Reid'" , "'Stefan Ehmann'" References: <5392DACF.4050401@gmx.net> <20140611100518.GA31433@blazingdot.com> In-Reply-To: <20140611100518.GA31433@blazingdot.com> Subject: RE: wlan0/iwn: no upload statistics Date: Wed, 11 Jun 2014 21:06:45 +0800 Message-ID: <001801cf8576$01ae50b0$050af210$@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: AQICoQOrUzCZcdWxIPDG6Ib7w6v4kgENXSbdmv090JA= 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: Wed, 11 Jun 2014 13:06:49 -0000 Just tell "the command is not working" cannot help in resolving the = problem. Could you please provide more detail? for example. 1. Firewall can tell you the total in/out traffic 2. The systat -ifstat result. 3. Netstat information In previous email, the guy provided the below information. > > systat -ifstat output: > > Interface Traffic Peak Total > > wlan0 in 1.066 KB/s 16.155 KB/s 377.757 = MB > > out 0.000 KB/s 0.000 KB/s 0.000 = KB Can you please confirm whether the "377.757 MB" is `in` or `out` = traffic? > -----Original Message----- > From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd- > current@freebsd.org] On Behalf Of Marcus Reid > Sent: 11 June, 2014 18:05 > To: Stefan Ehmann > Cc: freebsd-current@freebsd.org > Subject: Re: wlan0/iwn: no upload statistics >=20 > On Sat, Jun 07, 2014 at 11:26:39AM +0200, Stefan Ehmann wrote: > > Network monitoring tools show download traffic, but no upload data. >=20 > I have an iwn0: and have the same problem. I = was > able to track it down to being some missing ifmib(4) data, secifically > ifi_obytes from the if_data structure (see ifnet(9)). >=20 > This was a little while back, and I seem to remember someone else with > using iwn that didn't have the problem. Another thing is that if you = do > a 'netstat -I wlan0 -i 1', output bytes are missing, but if you look = at > iwn0 instead all you see is the output bytes and nothing else (except > sometimes you get some numbers in the output packets column seemingly = at > random). >=20 > Marcus >=20 > > > > systat -ifstat output: > > Interface Traffic Peak Total > > wlan0 in 1.066 KB/s 16.155 KB/s 377.757 = MB > > out 0.000 KB/s 0.000 KB/s 0.000 = KB > > > > > > Tested on amd64 CURRENT from few days ago. > > > > netword Card is: > > iwn0: mem 0xf2000000-0xf2001fff irq > > 17 at device 0.0 on pci3 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current- > unsubscribe@freebsd.org"