System Linux Network Linux - Netstat Commands Route list: netstat -rn Display active connection with associate pid/progam: netstat -taupen # -t: tcp # -a: all # -u: udp # -p: progam # -e: extend (user/inode) # -n: display numeric port Tips Group TCP connection's states netstat -an |awk '/tcp/ {print $6}' |sort |uniq -c