ab를 이용한 특정 웹사이트 응답속도 1회 측정하기
작성자 정보
- 관리자 작성
- 작성일
컨텐츠 정보
- 2,266 조회
- 0 추천
- 목록
본문
ab를 이용한 특정 웹사이트 응답속도 1회 측정하기
리눅스포털(www.linux.co.kr)웹서버의 응답속도를 측정한 것이다.
참고로 사이트URL의 마지막에는 반드시 "/"가 들어가야 함에 주의하기 바란다.
여기서 사용한 옵션 -n은 측정을 위한 웹페이지 요청수를 의미한다.
즉 "-n 1"이라고 한 것은 지정한 URL을 한번의 요청만으로 결과를 표시한다는 의미이다.
[root@RockyLinux local]# ab -n 1 http://www.linux.co.kr/ This is ApacheBench, Version 2.3 <$Revision: 1879490 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking www.linux.co.kr (be patient).....done
Server Software: Apache Server Hostname: www.linux.co.kr Server Port: 80
Document Path: / Document Length: 208 bytes
Concurrency Level: 1 Time taken for tests: 0.029 seconds Complete requests: 1 Failed requests: 0 Non-2xx responses: 1 Total transferred: 437 bytes HTML transferred: 208 bytes Requests per second: 34.15 [#/sec] (mean) Time per request: 29.279 [ms] (mean) Time per request: 29.279 [ms] (mean, across all concurrent requests) Transfer rate: 14.58 [Kbytes/sec] received
Connection Times (ms) min mean[+/-sd] median max Connect: 15 15 0.0 15 15 Processing: 15 15 0.0 15 15 Waiting: 14 14 0.0 14 14 Total: 29 29 0.0 29 29 [root@RockyLinux local]# |
즉 위의 결과를 보면 www.linux.co.kr웹사이트의 기본적인 정보와 함께 응답속도를 확인할 수 있다.
관련자료
-
이전
-
다음