Table of Contents

Network

TCP

Show current TCP connection status

netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'