查看统计

1、ifconfig eth0

2、cat /proc/net/dev

清除统计

 

1、重启

 

2、

ifconfig eth0 down
ifconfig eth0 up

 

3、

ethtool -i eth0   查看网卡驱动信息

root@localhost:/etc# ethtool -i eth0   
driver: xxx
version: 4.14.83

modprobe -r  xxx   重启驱动

modprobe xxx

 

4、

ethtool -i eth0 

rmmod eth0

insmod eth0

 

5、

ifconfig eth0 down
rmmod eth0
insmod eth0

 

6、todo

 

 

参考

Linux网卡包计数器清零(卸载/重加载驱动)

Resetting ifconfig counters

相关文章:

  • 2021-07-01
  • 2022-12-23
  • 2021-06-02
  • 2022-12-23
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2022-02-09
  • 2021-05-23
  • 2021-07-30
  • 2021-11-11
  • 2021-08-13
  • 2022-12-23
相关资源
相似解决方案