新版本的ethtool 可以统计到常见的包大小,这个不错
root@xxxxx:~# ethtool -S eth0
NIC statistics:
rx_bytes: 2155478478
rx_error_bytes: 0
tx_bytes: 3510224260
tx_error_bytes: 0
rx_ucast_packets: 14068750
rx_mcast_packets: 0
rx_bcast_packets: 26660
tx_ucast_packets: 16776544
tx_mcast_packets: 0
tx_bcast_packets: 908
tx_mac_errors: 0
tx_carrier_errors: 0
rx_crc_errors: 0
rx_align_errors: 0
tx_single_collisions: 0
tx_multi_collisions: 0
tx_deferred: 0
tx_excess_collisions: 0
tx_late_collisions: 0
tx_total_collisions: 0
rx_fragments: 0
rx_jabbers: 0
rx_undersize_packets: 0
rx_oversize_packets: 0
rx_64_byte_packets: 97283
rx_65_to_127_byte_packets: 7875839
rx_128_to_255_byte_packets: 1482001
rx_256_to_511_byte_packets: 4618999
rx_512_to_1023_byte_packets: 19572
rx_1024_to_1522_byte_packets: 2198
rx_1523_to_9022_byte_packets: 0
tx_64_byte_packets: 1871
tx_65_to_127_byte_packets: 9915426
tx_128_to_255_byte_packets: 2323271
tx_256_to_511_byte_packets: 3662517
tx_512_to_1023_byte_packets: 165323
tx_1024_to_1522_byte_packets: 709044
tx_1523_to_9022_byte_packets: 0
rx_xon_frames: 241
rx_xoff_frames: 241
tx_xon_frames: 0
tx_xoff_frames: 0
rx_mac_ctrl_frames: 0
rx_filtered_packets: 1151777
rx_discards: 0
rx_fw_discards: 0
分享到:
相关推荐
DPDK丢包调试
ethtool –S ethX //查询ethX网口收发包统计 ethtool –s ethX [speed 10|100|1000]\ //设置网口速率10/100/1000M [duplex half|full]\ //设置网口半/全双工 [autoneg on|off]\ //设置网口是否自协商 [port tp|aui|...
ethtool-5.8.tar.gz ethtool-5.8.tar.gz ethtool-5.8.tar.gz
ethtool-4.8.tar.xz
Linux下用于查询及设置网卡参数的软件 ethtool-4.5.tar.gz是2016比较新的版本
ethtool安装包,查看和设置网卡相关信息
linux系统用的ethtool源代码,如果在一些嵌入式平台没有此工具,可以下载下来进行编译移植 ethtool-2.6.36.tar ethtool-2.tar ethtool-3.0.tar ethtool-3.18.tar
Linux网络工具-ethtool-5.14(21年最新版本)
安卓可用的ethtool 二进制文件,里面包含了各个平台的版本,具体ethtool的使用请参照相关说明使用。
ethtool相关命令,用于查看和设置网卡相关信息 安卓可用的ethtool 二进制文件,里面包含了各个平台的版本,具体ethtool的使用请参照相关说明使用
ethtool离线包,仅在pve-7.1-7测试成功
ethtool-3.15.tar.gz
ethtool 5.14源码,具体使用方法可参考https://linux.die.net/man/8/ethtool。 ethtool 是Linux 调试网卡eth的必备工具。
ethtool最新源代码,这是debian官网上的最新源代码。
ethtool-4.18 ethtool-4.18 ethtool-4.18 ethtool-4.18
ethtool源代码
高通820系列,androido版本,ethtool4-5代码,能编译通过,解压之后,放到android/external/下,即可编译
ethtool-4.15.tar.gz,下载,安全无毒,欢迎下载,安全无毒,欢迎下载
ethtool工具来调整网卡的速度、双工等,这样能提高网卡的效率;
ethtool相关命令,用于查看和设置网卡相关信息