Gping in Termux – Ping Websites and IP Addresses

Gping is a simple tool that shows ping results in a live graph. It can check websites and IP addresses and display their response time in real time. It makes network testing easier by showing the results in a clear graphical format. You can also monitor multiple hosts at the same time and customize how the graph is displayed.

Here’s what you can do with Gping in Termux:

  • Ping websites and IP addresses.
  • View ping results in a live graph.
  • Monitor network latency.
  • Ping using IPv4 or IPv6.
  • Choose a network interface.
  • Change the graph update interval.
  • Change the graph display size.
  • Use different colors for graph entries.
  • Graph the execution time of commands.

Install Gping in Termux

You only need one command to install Gping in Termux. Run the command below, and Gping will be installed automatically.

Update Termux packages.

pkg update && pkg upgrade -y

Install Gping.

pkg install gping -y

Gping is now installed and ready to use.

Use Gping in Termux

After installing Gping, you can use different commands to monitor websites, IP addresses, and network connections with a live graph.

Ping a website.

gping google.com

Ping multiple websites.

gping google.com github.com

Ping an IP address.

gping 8.8.8.8

Use IPv4.

gping -4 google.com

Use IPv6.

gping -6 google.com

Change the watch interval.

gping -n 0.5 google.com

Set the graph buffer to 60 seconds.

gping -b 60 google.com

Use a specific network interface.

gping -i wlan0 google.com

Use simple graphics.

gping -s google.com

Set vertical margin.

gping --vertical-margin 2 google.com

Set horizontal margin.

gping --horizontal-margin 2 google.com

Use different colors for multiple hosts.

gping -c red,blue google.com github.com

Clear the graph after closing Gping.

gping --clear google.com

Display the installed version.

gping -V

Show the help menu.

gping -h

You can use these commands to change the graph, monitoring interval, network interface, and other options according to your needs.

Graph Command Execution Time

Gping can also show the execution time of commands instead of pinging hosts. Use the --cmd option for this feature.

Check the execution time of a command.

gping --cmd "ls"

Check multiple commands.

gping --cmd "ls" "pwd" "date"

Change the watch interval for commands.

gping --cmd -n 1 "ls"

This allows you to watch how the execution time of commands changes over time.

End Note

Gping is a useful tool for checking network connections in a simple graphical format. You can use it to monitor websites, IP addresses, and command execution times in the Termux terminal. It provides live results that are easy to understand and is simple and beginner-friendly.

SHARE THIS POST: