Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2008 17:29:49 +0200
From:      "Vonarburg, David" <vonarburg@omnisec.ch>
To:        Erik Osterholm <freebsd-lists-erik@erikosterholm.org>,  "Vonarburg, David" <vonarburg@omnisec.ch>
Cc:        freebsd-questions@freebsd.org
Subject:   AW: ethernet statistics
Message-ID:  <A1BAB23919F569438AECF5587963BC2513BB62@mailserver2.omnisec.ch>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A1BAB23919F569438AECF5587963BC2513BB62>