Have you wondered how you could ping an IP address or Host name and visualize data with a graph?. gping is a command line tool which enables you to ping an IP address or hostname in your network and visualize the output in a graph. This cross platform tool is available on Github for download and use.
How To Install gping on Linux, macOS and Windows
Binary packages for gping are available and can be downloaded manually from releases page or by using command line tools such as wget and curl.
Download and install latest gping release on Linux:
curl -s https://api.github.com/repos/orf/gping/releases/latest | grep browser_download_url | grep -i linux | cut -d '"' -f 4 | wget -i - tar xvf gping-Linux-x86_64.tar.gz chmod +x gping sudo mv gping /usr/local/bin
Download and install latest gping release on macOS:
curl -s https://api.github.com/repos/orf/gping/releases/latest | grep browser_download_url | grep -i darwin | cut -d '"' -f 4 | wget -i - tar xvf gping-Darwin-x86_64.tar.gz chmod +x gping sudo mv gping /usr/local/bin
Confirm installation was successful by checking software version:
$ gping --version gping 0.1.6
Using gping on Linux, macOS and Windows
Once gping is installed you can view usage help page:
$ gping --help gping 0.1.6 Ping, but with a graph. USAGE: gping <host> FLAGS: -h, --help Prints help information -V, --version Prints version information ARGS: <host> Host or IP to ping
See example below with ping request to google.com.
$ gping google.com
Here is the screenshot.
I hope you enjoy ping with graph tool in your Linux and macOS system.