Tuesday, December 4, 2012

Show Total Network Connections Per Port With Netstat

netstat -tuna | awk -F':+| +' 'NR>2{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

No comments:

Post a Comment