|  ethtool命令用于查询ethX网口基本设置、及设置网卡的参数。 语法格式:ethtool [参数] 常用参数: | -i | 显示网卡驱动的信息 |  | -E | 修改网卡只读存储器字节 |  | -K | 修改网卡 Offload 的状态 |  | ethx | 查询ethx网口基本设置,其中 x 是对应网卡的编号,如eth0、eth1等 |  | -s | 修改网卡的部分配置 |  | -t | 让网卡执行自我检测 | 
 参考实例 查询网口基本设置: [root@linuxcool ~]# ethtool eth0 查询网口的驱动相关信息:  [root@linuxcool ~]# ethtool -i eth0                                                                                        driver: e1000
version: 7.3.21-k8-NAPI
firmware-version:   设置网口工作方式: [root@linuxcool ~]# ethtool -s eth0 autoneg off speed 100 duplex full 
[root@linuxcool ~]# ethtool eth0         查看网卡,在接收/发送数据时,有没有出错 : [root@linuxcool ~]# ethtool -S eth0       停止网卡的发送模块TX:  [root@linuxcool ~]# ethtool -A tx off eth0        |