linux 网络诊断常用命令.pdf

时间:2023-05-13 17:28:15
【文件属性】:

文件名称:linux 网络诊断常用命令.pdf

文件大小:255KB

文件格式:PDF

更新时间:2023-05-13 17:28:15

linux 网络运维 运维

1. 查看网卡统计信息(来自网卡驱动) # ethtool -S eth0 (不同的网卡和驱动的输出可能不一样) NIC statistics:      rx_packets: 60      tx_packets: 32      rx_bytes: 7371      tx_bytes: 3061      rx_broadcast: 0      tx_broadcast: 0      rx_multicast: 0      tx_multicast: 0      rx_errors: 0      tx_errors: 0      tx_dropped: 0      multicast: 0      collisions: 0      rx_length_errors: 0      rx_over_errors: 0      rx_crc_errors: 0      rx_frame_errors: 0      rx_no_buffer_count: 0      rx_missed_errors: 0      tx_aborted_errors: 0      tx_carrier_errors: 0      tx_fifo_errors: 0      tx_heartbeat_errors: 0      tx_window_errors: 0      tx_abort_late_coll: 0      tx_deferred_ok: 0      tx_single_coll_ok: 0      tx_multi_coll_ok: 0      tx_timeout_count: 0      tx_restart_queue: 0      rx_long_length_errors: 0      rx_short_length_errors: 0      rx_align_errors: 0      tx_tcp_seg_good: 0      tx_tcp_seg_failed: 0      rx_flow_control_xon: 0      rx_flow_control_xoff: 0      tx_flow_control_xon: 0      tx_flow_control_xoff: 0      rx_long_byte_count: 7371      rx_csum_offload_good: 52      rx_csum_offload_errors: 0      alloc_rx_buff_failed: 0      tx_smbus: 0      rx_smbus: 0      dropped_smbus: 0


网友评论