centos常用命令

centos统计服务器当前IP连接数

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

 

posted @ 2022-01-03 12:07  Binz  阅读(34)  评论(0编辑  收藏  举报