아파치 밴치마킹툴 ab 로 특정 웹사이트 응답속도 1회 측정하기
수퍼유저코리아(www.linux.kr)웹서버의 응답속도를
측정한 것입니다.
참고로 사이트URL의 마지막에는 반드시 "/"가 들어가야 함에 주의하시기 바랍니다.
여기서 사용한 옵션 -n은 측정을 위한 웹페이지 요청수를 의미합니다.
즉 "-n 1"이라고 한 것은 지정한 URL을 한번의 요청만으로 결과를 표시한다는 의미입니다.
[root@host3
bin]# ab -n 1 http://www.linux.kr/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.116 $> apache-2.0
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.linux.kr (be
patient).....done
Server Software: Apache/2.0
Server Hostname: www.linux.kr
Server
Port: 80
Document
Path: /
Document Length: 458 bytes
Concurrency
Level: 1
Time taken for tests: 1.499567 seconds
Complete requests: 1
Failed requests: 0
Write errors: 0
Total transferred: 700 bytes
HTML transferred: 458 bytes
Requests per second: 0.67 [#/sec] (mean)
Time per request: 1499.567 [ms] (mean)
Time per request: 1499.567 [ms] (mean,
across all concurrent requests)
Transfer rate: 0.00
[Kbytes/sec] received
Connection
Times (ms)
min mean[+/-sd] median max
Connect: 17 17
0.0 17 17
Processing: 1482 1482 0.0
1482 1482
Waiting: 1481 1481 0.0
1481 1481
Total: 1499 1499
0.0 1499 1499
[root@host3 bin]#
|
즉, 위의 결과를 보시면 www.linux.kr웹사이트의 기본적인 정보와 함께 응답속도를 확인할 수 있습니다.