為什么并發(fā)是40 ,而查到的總是2以下
ab -n 10000 -c 40 http://192.168.43.100/test.txt
netstat -an|grep 80| grep 192.168.43.43| grep EST -c
還有?grep EST 是什么意思來(lái)的 怎么理解
ab -n 10000 -c 40 http://192.168.43.100/test.txt
netstat -an|grep 80| grep 192.168.43.43| grep EST -c
還有?grep EST 是什么意思來(lái)的 怎么理解
2016-11-18
舉報(bào)
2016-12-03
上面說(shuō)的有點(diǎn)錯(cuò)誤,讀者自行詳解ab命令的-c參數(shù)
2016-12-03
并發(fā)的40是嘗試和訪問(wèn)端建立40個(gè)鏈接 netstat -an |grep 80|grep yorTestIp -c
可以發(fā)現(xiàn)確實(shí)是40個(gè),只不過(guò)后來(lái)經(jīng)過(guò)了篩選
netstat -an|greo 80|grep yourTestIp|grep EST -c
EST的內(nèi)容其你主要不加-c參數(shù)就能明了了