您好,登錄后才能下訂單哦!
一,安裝siege
wget http://download.joedog.org/siege/siege-latest.tar.gz
tar -zxvf siege-latest.tar.gz
cd siege-3.0.0
./configure --prefix=/usr/local/siege --mandir=/usr/local/man --with-ssl=/usr/local/ssl
mkdir -p /usr/local/siege/etc/
mkdir -p /usr/local/siege/var/
make
make install
創(chuàng)建.siegec.config配置文件到當(dāng)前用戶的家目錄下
/usr/local/siege/bin/siege.config
安裝完成
二,測(cè)試siege
50個(gè)用戶(每次并發(fā)量,注意不是每秒并發(fā)量) 重復(fù)100次 共產(chǎn)生 50 * 100 = 5000個(gè)請(qǐng)求
/usr/local/siege/bin/siege -c 50 -r 100 https://www.google.com
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。