對剛搭建好的ngnix+php+mysql環境進行測試
發現http://blog.s135.com/post/288/ 介紹的方法不錯,如法炮製:
[root@CRRACTEST webbench-1.5]# ./webbench -c 500 -t 30 http://172.16.1.70/phpinfo.php
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.
Benchmarking: GET http://172.16.1.70/phpinfo.php
500 clients, running 30 sec.
Speed=26146 pages/min, 17900220 bytes/sec.
Requests: 13073 susceed, 0 failed.
top - 00:08:20 up 4:32, 4 users, load average: 11.29, 3.68, 2.21
Tasks: 253 total, 17 running, 235 sleeping, 0 stopped, 1 zombie
Cpu(s): 27.1%us, 24.6%sy, 0.0%ni, 0.0%id, 0.0%wa, 3.2%hi, 45.1%si, 0.0%st
Mem: 1027068k total, 999464k used, 27604k free, 2924k buffers
Swap: 2064376k total, 537392k used, 1526984k free, 83156k cached
phpinfo.php,是通用的
<?php phpinfo() ?>
這是在虛擬機上進行的測試,效果還可以,記錄一下備查
没有评论:
发表评论