Skip to content
On this page
  • 查看当前的tcp连接数

    shell
    netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'
    
  • 使用ab测试工具,发起10个并发请求

    shell
    ab -n 10 -c 10 url
    

Released under the MIT License.