[예전게시판백업] 아파치 bench
os/Linux 2004. 2. 2. 01:54 |아파치에 기본적으로 들어 있는 기능인지만 많이들 모르고 계신거 같네요.
윈도우에서 사용할 수 있는 웹스트레스 툴과 비슷한 기능을 가지고 있습니다.
[root@www root]# /usr/local/apache/bin/ab -n 1 http://www.hanserver.net/
This is ApacheBench, Version 1.3d <$Revision: 1.65 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking www.hanserver.net (be patient).....done
Server Software: Apache/1.3.26
Server Hostname: www.hanserver.net
Server Port: 80
Document Path: /
Document Length: 12483 bytes
Concurrency Level: 1
Time taken for tests: 0.015 seconds
Complete requests: 1
Failed requests: 0
Broken pipe errors: 0
Total transferred: 12648 bytes
HTML transferred: 12483 bytes
Requests per second: 66.67 [#/sec] (mean)
Time per request: 15.00 [ms] (mean)
Time per request: 15.00 [ms] (mean, across all concurrent requests)
Transfer rate: 843.20 [Kbytes/sec] received
[root@www root]#
윈도우에서 사용할 수 있는 웹스트레스 툴과 비슷한 기능을 가지고 있습니다.
[root@www root]# /usr/local/apache/bin/ab -n 1 http://www.hanserver.net/
This is ApacheBench, Version 1.3d <$Revision: 1.65 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking www.hanserver.net (be patient).....done
Server Software: Apache/1.3.26
Server Hostname: www.hanserver.net
Server Port: 80
Document Path: /
Document Length: 12483 bytes
Concurrency Level: 1
Time taken for tests: 0.015 seconds
Complete requests: 1
Failed requests: 0
Broken pipe errors: 0
Total transferred: 12648 bytes
HTML transferred: 12483 bytes
Requests per second: 66.67 [#/sec] (mean)
Time per request: 15.00 [ms] (mean)
Time per request: 15.00 [ms] (mean, across all concurrent requests)
Transfer rate: 843.20 [Kbytes/sec] received
[root@www root]#