统计当前连接本机的每个远程主机IP的连接数,并按从大到小排序

 w -h|tr -s " "|cut -d " " -f3|sort|uniq -c|sort -nr
原文地址:https://www.cnblogs.com/qianyuezhan/p/13265044.html