|
|
| |
WEBBENCH(1) |
FreeBSD General Commands Manual |
WEBBENCH(1) |
webbench - simple forking web benchmark
This program and manual page was written by Radim Kolar, for the Supreme
Personality of Godhead (but may be used by others).
webbench is simple program for benchmarking HTTP servers or any other
servers, which can be accessed via HTTP proxy. Unlike others benchmarks,
webbench uses multiple processes for simulating traffic generated by
multiple users. This allows better operating on SMP systems and on systems
with slow or buggy implementation of select().
The programs follow the usual GNU command line syntax, with long options
starting with two dashes (`-'). A summary of options are included below.
- -?, -h, --help
- Show summary of options.
- -v, --version
- Show version of program.
- -f, --force
- Do not wait for any response from server. Close connection after request
is send. This option produce quite a good denial of service attack.
- -9, --http09
- Use HTTP/0.9 protocol, if possible.
- -1, --http10
- Use HTTP/1.0 protocol, if possible.
- -2, --http11
- Use HTTP/1.1 protocol (without Keep-Alive ), if possible.
- -r, --reload
- Forces proxy to reload document. If proxy is not set, option has no
effect.
- -t, --time <n>
- Run benchmark for <n> seconds. Default value is 30.
- -p, --proxy <server:port>
- Send request via proxy server. Needed for supporting others protocols than
HTTP.
- --get
- Use GET request method.
- --head
- Use HEAD request method.
- --options
- Use OPTIONS request method.
- --trace
- Use TRACE request method.
- -c, --clients <n>
- Use <n> multiple clients for benchmark. Default value is
1.
- 0 - sucess
- 1 - benchmark failed, can not connect to server
- 2 - bad command line argument(s)
- 3 - internal error, i.e. fork failed
Include support for using Keep-Alive HTTP/1.1 connections.
Webbench is distributed under GPL. Copyright 1997-2004 Radim Kolar
(hsn@netmag.cz). UNIX sockets code taken from popclient 1.5 4/1/94 public
domain code, created by Virginia Tech Computing Center. This man page is
public domain.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |