Network monitoring


Keeping with the theme of testing out command-line tools starting with the letter "g" that replace ancient command-line stalwarts (see gtop), gping is an attempt to usurp ping. Many of us must use ping all the time – it sends a signal to a remote computer and waits for an echo request packet to be sent back. Its name comes from the sound of a sonar pulse, and it was originally written by Mike Muuss in December 1983 as a simple network troubleshooting tool, but it's just as useful in the age of flaky WiFi and occluded 4G. Fire up a simple ping command, and you can see not only whether the remote site is online, but whether it really is taking an age for a page to load, as well as whether your DNS is working and whether the response time changes under different network conditions.

gping does the same thing, but it adds a very useful graph to its output, so you can see the change in latency over time. While the original output from ping could be scanned and scrolled, it is often difficult to get a real feeling for how erratic a ping value might be from a big list of milliseconds. With gping, you can see whether the fluctuations are large or small and easily see whether something else may be affecting the network latency between you and the server you are testing. It could be that some huge download is sucking up every bit of bandwidth, for example, and you'll be able to see how this affects latency on your network. You can also see the current latency, alongside the maximum, minimum, and average for the time you run gping, all of which helps when detecting problems.

Project Website

Not to be confused with a Windows tool of the same name, our gping sticks to the terminal.

Video processing

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • The Impact of Crypto Mining

    With climate change wreaking havoc across the planet, we were just beginning to think about how we could use our technology to conserve fuel and reduce our carbon footprint. Then along came crypto mining.

  • Workspace – Termux

    Termux transforms an Android device into a lightweight and versatile Linux environment. This article introduces you to this must-have app.

  • Termux: Lightweight Linux Environment for Android
  • Tutorials – Natron

    Natron gives you the power to apply sophisticated effects to your videos, but its node-based interface can be a bit confusing. This tutorial will help you get a grasp on the basics.

  • Welcome

    Is blockchain finally getting interesting? I guess it always has attracted some attention – if not as an investment at least as a generator of headlines.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More