On Wed, 2006-18-01 at 16:13 -0800, Ben Greear wrote:
> shemminger wrote:
> 
> > It makes no sense to extend ethtool for something generic like that.
> > It shouldn't be that hard to do netlink in some richer scripting
> > language (like perl), but I haven't tried.
> 
> If you're using perl, you've already given up performance, so just
> parse /proc/net/dev.
> 
> I implemented my patch to more efficiently (and easily) grab the stats for 250
> interfaces every few seconds.
> 

And if you are serious about performance you should use netlink.

cheers,
jamal

-
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