Print the number of established and listening connections to your server on port 80 per each IP address


/ Published in: Bash



Copy this code and paste it in your HTML
  1. netstat -plan|grep :80|grep -E "(EST|LIST)"|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.