摘要:file=/port.txt #里面每个端口号占一行 cat $file | while read port do num=`netstat -ano | grep $port | wc -l` #统计端口的连接数 , 注意等号两边不能有空格(赋值不能有空格) ,那是反单引号(tab键上面那个有波浪
阅读全文
posted @ 2017-11-07 10:59
posted @ 2017-11-07 10:59
posted @ 2017-11-03 11:05
posted @ 2017-11-01 14:49