Home Command line utilities Ping Multiple Servers And Show The Output In Top-like Text UI

Ping Multiple Servers And Show The Output In Top-like Text UI

By sk
Published: Last Updated on 2.3K views

A while ago, we wrote about "Fping" utility which enables us to ping multiple hosts at once. Unlike the traditional "Ping" utility, Fping doesn't wait for one host’s timeout. It uses round-robin method. Meaning - It will send the ICMP Echo request to one host, then move to the another host and finally display which hosts are up or down at a time. Today, we are going to discuss about a similar utility named "Pingtop". As the name says, Pingtop will ping multiple servers at a time and show the result in Top-like Terminal UI. It is free and open source, command line program written in Python.

Install Pingtop in Linux

Pingtop can be installed using Pip, a package manager to install programs developed in Python. Make sure sure you have installed Python 3.7.x and Pip in your Linux box.

To install Pip on Linux, refer the following link.

Once Pip is installed, run the following command to install Pingtop:

$ pip install pingtop

Now let us go ahead and ping multiple systems using Pingtop.

Ping Multiple Servers and Show the Output in Top-like Terminal UI using Pingtop

To ping multiple hosts/systems using pingtop, run:

$ pingtop ostechnix.com google.com facebook.com twitter.com

You will now see the result in a nice top-like Terminal UI as shown in the following output.

Ping multiple servers using Pingtop
Ping multiple servers using Pingtop

I couldn't find any use cases for Pingtop utility at the moment. But I like the idea of showing the ping command's output in text user interface. Give it a try and see if it helps.


Related read:

You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More