Christopher Friesen wrote:
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. Thanks, Ben
Thanks, Chris - 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
-- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - 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