network device stat collecting

Bill Jonas plug-discuss@lists.plug.phoenix.az.us
Fri, 7 Mar 2003 10:21:05 -0700


--lak8Uquzb3CMtnm+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 06, 2003 at 09:06:33PM -0700, Entelin wrote:
> What would be the best way to collect the RX packets and TX packets from
> an interface?

Friends of mine use /proc/net/dev when they need this kind of
information.

--=20
Bill Jonas    *    bill@billjonas.com    *    http://www.billjonas.com/
"It's a dangerous business, Frodo, going out your front door.  You step
into the Road,  and if you don't keep your feet,  there  is  no knowing
where you might be swept off to."  --  Bilbo Baggins

--lak8Uquzb3CMtnm+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+aNUAdmHcUxFvDL0RAkRaAJ0WoPbeUB4fCbaDX702F6NWnVS6YgCgi9TS
q9aoJuuEe6YatQqRUKld/sI=
=pFOf
-----END PGP SIGNATURE-----

--lak8Uquzb3CMtnm+--