°¡Àå ³Î¸®¾Ë·ÁÁø À¥¼¹ö ½ºÆ®·¹½ºÅø ab ¸»°í ´Ù¸¥ ÅøÀ» ã¾Æº¸´øÁß.......
½ÃÁî´Â ´ÜÀÏ URLÀÇ ºÎÇÏ Å×½ºÆ®´Â ¹°·Ð ¸¹Àº URLÀ» ¸Þ¸ð¸®·Î ºÒ·¯µé¿© »ç¿ëÀÚ°¡ ¼³Á¤ÇÑ ½Ã¹Ä·¹ÀÌ¼Ç À¯Àú¸¸ÅÀÇ ºÎÇϸ¦ µ¿½Ã¿¡ Å×½ºÆ®ÇÒ ¼ö ÀÖ´Ù. ¶ÇÇÑ ±â·ÏµÈ ÃÑÈ÷Æ®¼ö¿Í Àü¼ÛµÈ ¹ÙÀÌÆ®¼ö, ¹ÝÀÀ½Ã°£, º´Ç༺(Concurrency), ¸®ÅÏ »óÅ µîÀ» º¸¿©ÁÖ¸ç, HTTP 1.0/1.1 ÇÁ·ÎÅäÄÝ, GET/POST µð·ºÆ¼ºê, ÄíÅ°, Æ®·£Àè¼Ç ·Î±ë, ±âº»ÀûÀÎ ÀÎÁõ µîÀ» Áö¿øÇÑ´Ù.
¼³Ä¡ INSTALL
¸í·É¾î ¿É¼Ç
SIEGE 2.69
Usage: siege [options]
siege [options] URL
siege -g URL
Options:
-V, --version VERSION, prints version number to screen.
-h, --help HELP, prints this section.
-C, --config CONFIGURATION, show the current configuration.
-v, --verbose VERBOSE, prints notification to screen.
-g, --get GET, pull down headers from the server and display HTTP
transaction. Great for web application debugging.
-c, --concurrent=NUM CONCURRENT users, default is 10
-u, --url="URL" Deprecated. Set URL as the last argument.
-i, --internet INTERNET user simulation, hits the URLs randomly.
-b, --benchmark BENCHMARK, signifies no delay for time testing.
-t, --time=NUMm TIME based testing where "m" is the modifier S, M, or H
no space between NUM and "m", ex: --time=1H, one hour test.
-r, --reps=NUM REPS, number of times to run the test, default is 25
-f, --file=FILE FILE, change the configuration file to file.
-R, --rc=FILE RC, change the siegerc file to file. Overrides
the SIEGERC environmental variable.
-l, --log LOG, logs the transaction to PREFIX/var/siege.log
-m, --mark="text" MARK, mark the log file with a string separator.
-d, --delay=NUM Time DELAY, random delay between 1 and num designed
to simulate human activity. Default value is 3
-H, --header="text" Add a header to request (can be many)
-A, --user-agent="text" Sets User-Agent in request
º¸Ãæ¼³¸í
The format for invoking siege is: siege options... siege supports the following command line options:
' -V '
' --version'
Print version information to the screen.
' -h '
' --help'
Print the help section. This presents a summary of the options discussed in this section of the manual.
' -C '
' --config'
Print the current configuration. This option reads your .siegerc file and prints the settings. You can change those settings by editing $HOME/.siegerc. If you don't have a .siegerc file, then you can generate one by running "siege.config"
' -v '
' --verbose '
Verbose output. With this option selected, siege will print transaction information to the screen. This includes HTTP protocol type, the return code and the page it requested:
HTTP/1.1 200 OK: /cgi-bin/whoohoo.cgi?first=Homer&last=simpson
This option is especially useful for charting progress in regression or internet modes when the program is hitting a large number of assorted URLs.
' -g URL '
' --get URL '
Get an HTTP transaction. Pull down headers from the server and display HTTP transaction. Great for web application debugging. [Example]
' -c NUM '
' --concurrent=NUM '
Concurrent users ( requires argument ). This option allows the user to stress the web server with NUM number of simulated users. The amount is limited only by the computing resources available, but realistically a couple of hundred simulated users is equal to many times that that number in actual user sessions. The number you select represents the number of transactions your server is handling. It does NOT represent the number of concurrent sessions. Remember, real users take some time to actually read the page that they've requested....
' -i '
' --internet '
This option is used with a configuration file, that is a file containing many URLs. With this option in place, each user randomly hits any one of the URLs in the file each time it hits the server. Much like you can't tell the users of your website which pages they can view, you have no control over which pages siege will hit in internet mode. With this option set, there is no guarantee that every page in the file will be hit.
' -t NUMm '
' --time=NUMm '
TIME, allows you to run the test for a selected period of time. The format is "NUMm", where NUM is a time unit and the "m" modifier is either S, M, or H for seconds, minutes and hours. To run siege for an hour, you could select any one of the following combinations: -t3600S, -t60M, -t1H. The modifier is not case sensitive, but it does require no space between the number and itself.
' -f FILE '
' --file=FILE '
The default configuration file, the file with all your URLs is SIEGE_HOME/etc/urls.txt. You can use this option to instruct siege to use a different configuration file: siege --file=serverb.txt
' - l '
' --log '
This option instructs siege to log the statistics to SIEGE_HOME/var/siege.log. Each new statistics set is appended to the log.
' - m MESSAGE '
' --mark=MESSAGE '
This option allows you to mark the log file with a separator, to differentiate your log file entries with header information. It is not necessary to use both the -m option and the -l option. -m assumes -l so it marks and logs the transaction. If the MESSAGE has spaces in it, make sure that you put it in quotes.
' -d NUM '
' --delay=NUM '
Each siege simulated user is delayed for a random number of seconds between one and NUM. If you are benchmarking performance, it is recommended that you use a 1 second delay ( -d1 ). The default value is three (3 ). This delay allows for the transactions to stagger rather then to allow them to pound the server in waves.