linux 查看有哪些ip正在连接

netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

原文地址:https://www.cnblogs.com/j-jian/p/13859017.html