Tag: check
-
[BASH] Check dropped RX packets
This is a simple bash script to check whether NIC is dropping packets or not. It works with only one NIC card at one time because there’s possiblity that packet can go through another NIC. #!/bin/bash NET_ON_LIST=`ifconfig | grep “Link encap:Ethernet”` NET_ON_COUNT=`echo “$NET_ON_LIST” | wc -l` if (($NET_ON_COUNT != 1)); then echo “Need to set […]