This tutorial presents a short history of the ping network management program and shows how the output of the ping command is graphically displayed using the Linux gping program.
Brief introduction to Ping
Ping is a well-known tool for checking connectivity and availability between devices on the LAN and the WAN. Ping is an abbreviation for Packet Internet Groper. It sends packets with ICMP (Internet Control Message Protocol) echo queries to a specific URL or IP address and waits for an echo response from the target ICMP host. If you receive a response from the target’s host, it means the host is alive. Ping is the most widely used network diagnostic tool for solving network problems.
Ping is one of the oldest public services ever established in the field of computer networks. It was developed in 1983 by the American scientist Michael John Muus. Ping supports almost all operating systems, including GNU/Linux, Unix, MacOS and Windows, as well as embedded systems.
Below is a typical method to use the Ping command to check if a host is active on the network:
$ ping -c 3 ostechnix.com
Here -c 3 indicates the number of ECHO_REQUEST packets sent.
The above command displays the result as shown below
Пинг-остехникс.com(2606:4700:20::681a:528 (2606:4700:20::681a:528)) 56 data bytes64 bytes of 2606:4700:20::681a:528 (2606:4700:20::681a:528): icmp_seq=1 ttl=55 time=105 ms64 bytes of 2606:4700:20::681a :528 (2606:4700:20::681a:528): icmp_seq=2 ttl=55 time=103 ms64 Bytes of 2606:4700:20::681a:528 (2606:4700:20::681a:528): icmp_seq=3 ttl=55 time=103 ms64 Bytes of 2606:4700:20::681a:528.
— Ping statistics ostechnix.com —
3 packets sent, 3 packets received, 0% packet loss, 2000 ms
rtt min/Aug/Max/Mdeve = 102,852/103,667/105,223/1,100 ms
Ping control output
Some of you may not like the default output format of the normal ping command. You can view the output of the ping command in graphical form. That’s where the gaming utility comes into play!
Gping is a cross-platform command line utility that displays a nice diagram in your terminal when you try to ping a host or website. The author describes it – ping, but using images.
Gping displays the output of the ping command with diagrams, not numbers and text. It is an open source network program written in the programming language Rust and published under the MIT license. Gping currently supports GNU/Linux, MacOS and Windows.
Installation of Gping on Linux
Gping is available in AUR, so you can install Gping on Arch Linux and its variants with an AUR wizard like Yay.
$ yay -S gping-git
On other Linux distributions it can be installed via the package manager. Make sure you have Rust installed on your Linux system to take advantage of the load.
After installing Rust, run the following command to install Gping
Display of the output of the ping command in graphical format with gping under Linux
To check the network connection of a host or website (e.g. ostechnix.com) with Gping and display the result graphically, simply execute this command from the terminal:
$ gping ostechnix.com
Display of ping command output graphically with Gping under Linux
To stop Gping, press q or ESC.
Compared to the usual ping utility, gping is very minimal and offers no options to customize the output. For example, you can’t,
- Specify the number of ECHO_REQUEST packages to be sent,
- to specify the interval in seconds between requests,
- the bell rings when the package arrives,
- to display a message if no response has been received.
Gping is only intended to display the output of the ping command in graphical format. No more, no less. He’s doing an excellent job, as advertised.
To display the Hipping-help section, start the program:
$ gping –help
Ping, but with a diagram.
-h, –aid wallpaper
-V, -version Printed version information
Ping or IP host
Sounds like reading:
linux graphical ping,gping windows,netscantools basic,open visual traceroute,ping monitor reddit,prettyping,fping command in linux example,fping command windows,fping list of subnets,ping sweep fping,fping get hostname,fping return code,how to ping an ip address windows 10,ping ip address online,how to ping multiple ip addresses in cmd,best ping tool,ping ip address linux,how to ping an ip address on mac,ping command in linux with port,ping command in linux example,linux ping command not found,ping with packet size 1500,ping flood command windows,linux ping don't fragment