From owner-freebsd-questions@FreeBSD.ORG Fri Sep 26 23:50:37 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 5E3DE1065696 for ; Fri, 26 Sep 2008 23:50:37 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from gate.criticalsoftware.com (gate.criticalsoftware.com [212.13.37.242]) by mx1.freebsd.org (Postfix) with ESMTP id B85428FC14 for ; Fri, 26 Sep 2008 23:50:36 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from [192.168.1.100] (acb1-84-91-18-19.netvisao.pt [84.91.18.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.criticalsoftware.com (Postfix) with ESMTP id 9603FE9770; Sat, 27 Sep 2008 00:50:34 +0100 (WEST) Message-ID: <48DD754B.8030003@gmail.com> Date: Sat, 27 Sep 2008 00:50:35 +0100 From: Ricardo Jesus User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Abdullah Ibn Hamad Al-Marri , freebsd-questions@freebsd.org References: <494769.87159.qm@web33702.mail.mud.yahoo.com> In-Reply-To: <494769.87159.qm@web33702.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: ethernet statistics X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ricardo.m.jesus@criticalsoftware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2008 23:50:37 -0000 Abdullah Ibn Hamad Al-Marri wrote: > ----- Original Message ---- > > >> From: Ricardo Jesus >> To: freebsd-questions@freebsd.org >> Sent: Friday, September 26, 2008 10:50:59 PM >> Subject: Re: ethernet statistics >> >> Gian Paolo Buono wrote: >> >>> Hi, >>> >>> try systat and :ifstat >>> >>> bye >>> >>> On Thu, Sep 25, 2008 at 5:23 PM, Erik Osterholm < >>> freebsd-lists-erik@erikosterholm.org> wrote: >>> >>> >>> >>>> On Thu, Sep 25, 2008 at 04:39:35PM +0200, Vonarburg, David wrote: >>>> >>>> >>>>> Hi, >>>>> I am using Intel PRO/1000PT Server adaptor with freeBSD 7.0. >>>>> How can I read out the statistics of the card from software? >>>>> (num bytes received, packets sent and more) >>>>> >>>>> Thanks in advance >>>>> David >>>>> >>>>> >>>> Is netstat -i what you're looking for? >>>> >>>> Erik >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to " >>>> freebsd-questions-unsubscribe@freebsd.org" >>>> >>>> >>>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>> >>> >>> >> Hi, >> >> I'd suggest vnStat. >> >> I've posted a post on my blog a few days ago on how to set it up on >> FreeBSD: >> http://linux-bsd-sharing.blogspot.com/2008/09/howto-monitor-network-traffic-with.html >> >> Best Regards. >> > > I think there is small error with this port. > > BB# vnstat -l > Monitoring eth0... (press CTRL-C to stop) > > getting traffic...Error: > Unable to get interface statistics. > > Is it made to be used for linux as default? > > > > Regards, > > -Abdullah Ibn Hamad Al-Marri > Arab Portal > http://www.WeArab.Net/ > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > Hi Abdullah, That's why you should specify the interface, like so: alterran# vnstat -l -i rl0 Monitoring rl0... (press CTRL-C to stop) rx: 9.13 kB/s 20 p/s tx: 21.15 kB/s 25 p/s Best regards.