LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

httping

measures the latency and throughput of a web server by sending HTTP requests

TLDR

Ping a URL
$ httping [https://example.com]
copy
Ping with count
$ httping -c [5] [https://example.com]
copy
Use GET instead of HEAD
$ httping -G [https://example.com]
copy
Use SSL/HTTPS
$ httping -l [https://example.com]
copy
Show split latency timing
$ httping -S [https://example.com]
copy
Use persistent connection
$ httping -Q [https://example.com]
copy
Set timeout
$ httping -t [5] [https://example.com]
copy

SYNOPSIS

httping [options] url

DESCRIPTION

httping measures the latency and throughput of a web server by sending HTTP requests and timing the response. Unlike ICMP ping, it measures actual HTTP round-trip time including network latency and server processing. Use -S to see breakdown of connection phases.

PARAMETERS

-c count

Number of pings.
-G
Use GET request instead of HEAD.
-l
Connect using SSL (for https).
-S
Split latency into connect, send, receive, etc.
-Q
Use persistent connection (Keep-Alive).
-t seconds
Timeout per request.
-i seconds
Interval between requests.
-q
Quiet mode, only show summary.
-x host:port
Probe through the given proxy server.
-m
Machine-readable output, for use in scripts.
-b
Show transfer speed in KB/s (used with -G).
-v
Verbose mode, adds standard deviation and timestamps.

INSTALL

sudo apt install httping
copy
sudo dnf install httping
copy
sudo pacman -S httping
copy
brew install httping
copy
nix profile install nixpkgs#httping
copy

SEE ALSO

ping(1), curl(1)

RESOURCES

Copied to clipboard
Kai