Wednesday, March 25, 2009

Using httping to test http throughput and latency

To test the throughput and latency of a web server from a remote server, you can use the following utilities httping.

Step 1:
Install RPMForge

Step 2:
# yum install httping


Step 3:
# httping -c10 -Grg http://www.yourwebserver.com


Notes:
-g (URL to probe)
-G (GET request, to fetch the whole page)
-r (Resolve the hostname once, removing latency)
-b (show the transfer rates in bytes)
-s (display return codes)
-l (connect using SSL)

No comments: