Print out a list of open connections on your box and sorts them by according to IP address

/ Published in: Bash
Save to your folder(s)

Copy this code and paste it in your HTML
  1. netstat -atun | awk '{print $5}' | cut -d: -f1 | sed -e '/^$/d' |sort | uniq -c | sort -n

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.