It looks like the e1000 driver gathers all kinds of stats. How do I access these from userspace?

/proc/net/dev will have many of the common ones, and ethtool should
get the rest.

If you want a hack, I have a patch against the ethtool logic that
allows user-space to grab the netdev->stats struct and copy it
directly to user-space.  This is easier and most likely more efficient
than parsing the /proc/net/dev file.

Yes, please ;). I'd be interested in this patch as well.

Regards,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to