找了半天也没有找到一个合适的压力测试程序,只好自己写了一个。为了方便和我有着同样目的的人......
[code]
/* Please set tab-stop to 4 before you edit/view the code */
/*
* DNS Request Flooder, v0.1
*
* All rights left, mirnshi
*
* To compile: gcc -o drf drf.c -Wall
*
* NOTE: use it in the test network!!!!
*
*/
#include
by mirnshi - 服务器应用 - 2006-08-31 16:55:14 阅读(1911) 回复(1)
/* Please set tab-stop to 4 before you edit/view the code */ /* * DNS Request Flooder, v0.1 * * All rights left, mirnshi * * To compile: gcc -o drf drf.c -Wall * * NOTE: use it in the test network!!!! * */ #include #include #include #include /* gethostbyname */ #include /* usleep */ #include #include #include #include struct iphdr { u_int ihl:4, /*...
web服务器的压力测试,哪位有经验。我的要求是一天的PV值是40000-100000。我用AB测试了,不太好使,效果也不太好,我找了一个webserver stress软件,但没有破解版的,哪位还有其它的好的方法? 谢谢!我的服务器的配置是XEON 2.8/2G内存。谢谢。
刚为公司网站架设好了squid服务器,不知道能承受多大的压力,想做一下压力测试,但没有这方面的经验。哪位高手提供一些测试方案或者介绍一下如何进行squid服务器的压力测试?需要哪些工具?
NAME ab - Apache HTTP server benchmarking tool ab-apache http 服务器压力测试工具 SYNOPSIS ab [ -A auth-username ] [ -c concurrency ] [ -C cookie-name=value ] [ -d ] [ -e csv-file ] [ -g gnuplot-file ] [ -h ] [ -H custom-header ] [ -i ] [ -k ] [ -n requests ] [ -p POST-file ] [ -P proxy-auth-username ] [ -q ] [ -s ] [ -S ] [ -t timelimit ] [ -T content-type ] [ -v verbosity] [ -V ] [ -w ] [ -x -a...
今天把服务器装好了,系统FREEBSD的,主要是用来运行WEB服务的,APACHE+MYSQL+PHP也配好了,现在想给这台子机做一下服务器的压力测试看承受能力如何,但不知道应该用什么方法测试最准确,请教一下,谢谢。