$linuxjunkies
>

gping(1)

gping is a ping utility with a real-time graphical display showing response times over time.

UbuntuDebianFedoraArch

Synopsis

gping [OPTIONS] [--] <hosts>...

Description

gping is a ping tool that visualizes ping latency in real-time using a terminal graph. It pings one or more hosts and displays the response times as an animated chart, making it easy to spot latency spikes and patterns. It supports both IPv4 and IPv6 addresses and hostnames.

The graph updates in real-time, showing the last ~30-40 ping results depending on terminal width. It's useful for monitoring network quality, diagnosing connection issues, and comparing latency across multiple hosts simultaneously.

Common options

FlagWhat it does
-c, --count <COUNT>Stop after sending COUNT echo requests (default: infinite until Ctrl+C)
-i, --interval <INTERVAL>Wait INTERVAL seconds between pings (default: 0.5)
-w, --timeout <TIMEOUT>Timeout in seconds for each ping request (default: 5)
--watchWatch mode for DNS changes; re-resolves target addresses periodically
-n, --no-rdnsDisable reverse DNS lookups for IPv4 addresses
-4Force IPv4 only
-6Force IPv6 only
-b, --buffer <BUFFER>Number of ping results to display in the graph (default: 30)
--statsDisplay statistics instead of a graph

Examples

Ping google.com and show real-time latency graph

gping google.com

Ping multiple DNS servers simultaneously with separate graphs

gping 8.8.8.8 1.1.1.1 8.8.4.4

Ping example.com exactly 20 times then exit

gping -c 20 example.com

Ping gateway with 1-second interval and 2-second timeout

gping -i 1 -w 2 192.168.1.1

Watch DNS changes for a hostname and update the graph accordingly

gping --watch hostname.example.com

Force IPv4 and skip reverse DNS lookups

gping -4 -n google.com

Show statistics view (min/max/avg/loss) instead of graph

gping --stats 8.8.8.8

Related commands