系统相关
首页 > 系统相关> > linux- wrk 测试并发工具

linux- wrk 测试并发工具

作者:互联网

https://github.com/wg/wrk

 


apt install unzip -y
apt-get install build-essential libssl-dev git -y
apt install make
git clone https://github.com/wg/wrk.git
cd wrk/
make
cp wrk /usr/local/bin

 

 

 

 

 


wrk -t12 -c400 -d30s --latency http://www.sina.com


This runs a benchmark for 30 seconds, using 12 threads, and keeping 400 HTTP connections open.

 

标签:wg,github,install,wrk,并发,https,linux,com
来源: https://www.cnblogs.com/xman888/p/15347037.html