User Tools

Site Tools


mywiki:linux:network_debugging

This is an old revision of the document!


Display all network device's MIB counters: cat /proc/net/dev

Note: it should match with ifconfig command

Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
eth0_1:  101570     541    0    0    0     0          0         0      936      12    0    0    0     0       0          0
eth0_5:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
    lo:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
   br0:    2592      34    0    0    0     0          0         0      468       6    0    0    0     0       0          0
eth0_0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
eth0_4:       0       0    0    0    0     0          0         0     4004      46    0    0    0     0       0          0
  eth1:       0       0    0    0    0     0          0         0      468       6    0    0    0     0       0          0
eth0_3:       0       0    0    0    0     0          0         0     4004      46    0    0    0     0       0          0
eth0_2:       0       0    0    0    0     0          0         0     4004      46    0    0    0     0       0          0

Display Per CPU Backlog queue status: cat cat /proc/net/softnet_stat

processed dropped time_squeeze -      -        -        -        -     cpu_collision received_rps
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000245 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
mywiki/linux/network_debugging.1430709754.txt.gz · Last modified: (external edit)