常用命令

查看tcp各种状态数

netstat -na | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'

posted @ 2023-02-22 14:19  第十一个程序员  阅读(2)  评论(0编辑  收藏  举报