Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 528 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 528 Bytes

hcheck

Poor man's health check. Intended to be put in your bashrc/zshrc/whatever.

Install

go get github.com/mcls/hcheck

Usage

usage: hcheck [flags] [urls]
  -errors-only
    only print errors
  -timeout duration
    request timeout in ms (default 500ms)

Example

$ hcheck -timeout 1000ms \
    https://github.com \
    https://google.com \
    https://www.facebook.com
200 OK (293ms) - https://www.facebook.com
200 OK (333ms) - https://google.com
200 OK (423ms) - https://github.com