:~$ netstat -ntu | grep ESTABLISHED | awk '{ if ( NR > 2 ) { print } }' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n :~$
This command will return the list of concurrent connections to your machine.
:~$ netstat -ntu | grep ESTABLISHED | awk '{ if ( NR > 2 ) { print } }' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n :~$
This command will return the list of concurrent connections to your machine.