LinuxCommandLibrary

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.

SEE ALSO

ping(1), curl(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community