Below is command to find out number of connections from each ip to server using netstat , sort, uniq, awk.
netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
Below is command to find out number of connections from each ip to server using netstat , sort, uniq, awk.
netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n