IMHO.WS

IMHO.WS (http://www.imho.ws/index.php)
-   Веб-программирование (http://www.imho.ws/forumdisplay.php?f=29)
-   -   Apache Benchmark (http://www.imho.ws/showthread.php?t=58639)

hempsmoke 14.05.2004 00:35

Apache Benchmark
 
только не бейте ногами. решил сюда все-таки запостить.
что это такое? вернее я знаю... для имитации кол. во поситителей и т.д. вообщем тест. так вот: это скрипт или программа?

Sheryld 14.05.2004 00:51

Quick Guide to Using Apache Benchmark (ab)
Updated: 2000.05.01

ab is a handy little utility for stress-testing.
it allows you to pound a url, and gives
some basic statistics at the end.

useful arguments are:
-c -- number of concurrent clients
-n -- number of total requests
-C -- a cookie string
-A -- Authen info eg 'user:password'

Eg:

/usr/local/apache/bin/ab -c 8 -n 100 -A 'guest:pass*word' \
-C "User=id&4819; Pref=lang&en" \
"www.myhost.com/foobar.html"

Start with low values of c and n, as you could slow
your site down considerably; gradually increase
them for more rigorous stress-testing.

One potential issue is that ab doesn't tell
you the statuses of the requests, just the number
of failed requests. So, it will be hard to tell a
server error from a redirection, etc..

ГеныЧ 15.05.2004 00:15

А под виндой такого-же аналога случаем нету? ...

hempsmoke 15.05.2004 00:40

Sheryld
спасаб. а ссылочку можно... =) сокращенную... =)


Часовой пояс GMT +4, время: 23:17.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.