강좌
클라우드/리눅스에 관한 강좌입니다.
리눅스 분류

ab를 이용한 특정 웹사이트 응답속도 1회 측정하기

작성자 정보

  • 관리자 작성
  • 작성일

컨텐츠 정보

본문

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웹사이트의 기본적인 정보와 함께 응답속도를 확인할 수 있다.

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,037 명
  • 현재 강좌수 :  35,807 개
  • 현재 접속자 :  145 명