본문 바로가기

리눅스

[리눅스] httpstat 웹 사이트 성능 확인 도구

728x90

httpstat 웹 사이트 성능 확인 도구

 httpstat는 curl과 같은 도구로 http/https 프로세스를 시각화하고 기간을 표시합니다.

설치 환경

- macOS

httpstat 설치(pip install)

pip3 install httpstat

httpstat 사용 방법

httpstat www.sangchul.kr

httpstat sangchul.kr

help 페이지

$ httpstat --help
Usage: httpstat URL [CURL_OPTIONS]
       httpstat -h | --help
       httpstat --version

Arguments:
  URL     url to request, could be with or without `http(s)://` prefix

Options:
  CURL_OPTIONS  any curl supported options, except for -w -D -o -S -s,
                which are already used internally.
  -h --help     show this screen.
  --version     show version.

Environments:
  HTTPSTAT_SHOW_BODY    Set to `true` to show response body in the output,
                        note that body length is limited to 1023 bytes, will be
                        truncated if exceeds. Default is `false`.
  HTTPSTAT_SHOW_IP      By default httpstat shows remote and local IP/port address.
                        Set to `false` to disable this feature. Default is `true`.
  HTTPSTAT_SHOW_SPEED   Set to `true` to show download and upload speed.
                        Default is `false`.
  HTTPSTAT_SAVE_BODY    By default httpstat stores body in a tmp file,
                        set to `false` to disable this feature. Default is `true`
  HTTPSTAT_CURL_BIN     Indicate the curl bin path to use. Default is `curl`
                        from current shell $PATH.
  HTTPSTAT_DEBUG        Set to `true` to see debugging logs. Default is `false`

홈브류 설치

https://formulae.brew.sh/formula/httpstat 

brew install httpstat

brew install httpstat

 

참고사이트

- https://github.com/reorx/httpstat

 

728x90