葛海豹

   ::  ::  ::  ::  :: 管理

2020年7月14日

摘要: 1、使用netstat和awk统计服务器出现tcp网络状态并按数量排序? netstat -tan | awk '$1=="tcp" {print $6}' | sort | uniq -c | sort -nr #另一种用awk数组的方法,但是排序还是用了sort netstat -tan | a 阅读全文
posted @ 2020-07-14 02:03 葛海豹 阅读(111) 评论(0) 推荐(0) 编辑