To check total connection to our server, we can use command :

root@server [~]# netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n

That command useful if you want to check any DDOS attack to your server.

If you enjoy our post, feel free to subscribes to our rss feeds