From owner-freebsd-questions@FreeBSD.ORG Thu Sep 25 15:29:58 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 39CBC106568A for ; Thu, 25 Sep 2008 15:29:58 +0000 (UTC) (envelope-from vonarburg@omnisec.ch) Received: from MAIL.OMNISEC.CH (mail.omnisec.ch [62.2.164.227]) by mx1.freebsd.org (Postfix) with ESMTP id 9D57D8FC19 for ; Thu, 25 Sep 2008 15:29:57 +0000 (UTC) (envelope-from vonarburg@omnisec.ch) Received: from 155.111.232.108(unknown) by OAGMAILSRVI via phion-mailgw id 20080925-170616-23952-00; 25 Sep 2008 17:06:16 +0200 Received: by mailserver2.omnisec.ch with Internet Mail Service (5.5.2653.19) id <39KMNMGV>; Thu, 25 Sep 2008 17:29:49 +0200 Message-ID: From: "Vonarburg, David" To: Erik Osterholm , "Vonarburg, David" Date: Thu, 25 Sep 2008 17:29:49 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-virus-status: checked by phion-mailgateway, no virus found Cc: freebsd-questions@freebsd.org Subject: AW: ethernet statistics X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 15:29:58 -0000 Hi, netstat -i is ok for a user to get system statictics. I'd like get exactly this information but as a function call inside a = "C" language application David -----Urspr=FCngliche Nachricht----- Von: Erik Osterholm [mailto:freebsd-lists-erik@erikosterholm.org]=20 Gesendet: Donnerstag, 25. September 2008 17:24 An: Vonarburg, David Cc: freebsd-questions@freebsd.org Betreff: Re: ethernet statistics 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) >=20 > 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"