2020年7月8日

服务器上的一些统计数据查看方法

摘要: 查看TCP连接状态数: netstat -n |awk '/tcp/ {++S[$NF]} END {for (a in S) print a, S[a]}' TCP各种状态列表 netstat -nat |awk '{print $6}' 先把状态全都取出来,然后使用uniq -c统计,之后再进行 阅读全文

posted @ 2020-07-08 11:45 Ryanyanglibin 阅读(1094) 评论(0) 推荐(0) 编辑

导航