ping

httping - Test Latency of Web Server and Network - Tutorial With Examples

httping is similar to ping, but it's for http requests. Give httping a url, and it will show you how long it takes to connect, send a request, and retrieve the reply (only the headers). Keep in mind that you are not only testing the time for the web server to respond, but also the time it takes to send the request over the network and for the web server to return the headers back. Basically, you are measuring the latency of the web server + the latency of the network. httping also supports IPv6.

To install, run the following for your operating system:

Ubuntu: sudo apt-get install httping

openSUSE: sudo zypper install httping

Android: Click here to install

 

To ping the web server google.com, run the following:

httping -g http://google.com/

To ping the web server google.com on port 8080, run the following:

httping -p 8080 -g http://google.com/

To ping the web server google.com using SSL, run the following:

httping -l -g https://google.com/

To ping a site that requires Basic HTTP Authentication, run the following:

httping -g http://auth-site123.com/ -A -U username -P password

oping - Tutorial on How to Use oping With Examples

oping uses ICMPv4 or ICMPv6 ECHO_REQUEST packets to measure a hosts reachability and the network latency. In contrast to the original ping utility, oping can send ICMP packets to multiple hosts in parallel and wait for all ECHO_RESPONSE packets to arrive. In contrast to the fping utility, oping can use both, IPv4 and IPv6 transparently and side by side. oping also includes noping, an ncurses-based version.

To install, run the following command:

Ubuntu: sudo apt-get install oping

openSUSE: sudo zypper install oping noping

In its most simple form you can use oping just like ping:

oping 8.8.8.8

You can ping a list of hosts by adding the "-f" switch and providing a host-list file. By default, it will ping each host in the list consecutively, once every second:

oping -f host_list.txt

oping - Tutorial on How to Use oping With Examples 1

You can also assign QOS for your outgoing packets by adding the "-Q" switch. There are several predefined "per-hop behaviors" listed in the man file. In this example, we're using 'ef' (Expedited Forwarding):

oping -Q ef 172.31.0.251

fping - Tutorial on How to Use fping With Examples

fping  is  a program like ping which uses the Internet Control Message Protocol echo request to determine if a target host is responding.  fping differs from ping in that you can specify any number of targets on the command line, or specify a file containing the lists of targets to ping. Instead of  sending  to  one  target until it times out or replies, fping will send out a ping packet and move on to the next target in a round-robin fashion. Unlike ping, fping is meant to be used in scripts, so its output is designed to be easy to parse.

To install fping:

Ubuntu: sudo apt-get install fping

openSUSE: sudo zypper install fping

Windows: http://fping.sourceforge.net/

Examples:

In its most simple form, you can use fping just like ping:

fping 172.31.0.251

You can do a network scan that sends one ping packet per/IP:

fping -a -r 0 -g 172.31.0.0/24

Or 4 ping packets per/IP (the "-r" is for retry):

fping -a -r 3 -g 172.31.0.0/24

You can do an even faster network scan by by adding "-i 1" switch (Requires sudo, waits 1ms between pings):

sudo fping -a -i 1 -r 0 -g 172.31.0.0/24

You can do the same fast scan, but from a host-list like this:

Subscribe to ping