本文主要是介绍实验常用的ethtool命令,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
网卡点灯是最让我兴奋的命令,在进入机房时能帮助我找网卡所插位置
ethtool --identify eth2 20
看到很多网络接口的offload特性:
ethtool -k eth_name
控制开关 以下为打开,关闭GRO,GSO,TSO
sudo ethtool -K em2 gro on
sudo ethtool -K em2 gso on
sudo ethtool -K em2 tso on
sudo ethtool -K em2 gro off
sudo ethtool -K em2 gso off
sudo ethtool -K em2 tso off
这篇关于实验常用的ethtool命令的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!