查询linux服务器有哪些IP在连接

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

原文地址:https://www.cnblogs.com/paddygege/p/7026726.html