How do I display dropped packets per interface on Linux operating systems from the command line option? How can I determine why a Linux server is dropping packets?
We can use the ip command or netstat command or ethtool command to show dropped packets statistics per network interface on Linux. Let us see how to use both commands list dropped packets per interface.
The netstat command is mostly obsolete. Replacement for netstat is ss and ip command. However, netstat still available on older Linux distros, which are in productions. Hence, I will start with netstat but if possible, use the ip/ss tools. The syntax is:
netstat -i
netstat --interfaces
Displaying network stats per network interface on LInux
netstat -s
netstat --statistics
#linux