LinuxCommandLibrary

gping

Graphical ping with live terminal graph

TLDR

Ping a host with graph

$ gping [example.com]
copy
Ping multiple hosts
$ gping [example.com] [google.com] [cloudflare.com]
copy
Ping with custom interval
$ gping -i [0.5] [example.com]
copy
Execute command and graph results
$ gping --cmd "[curl -so /dev/null -w '%{time_total}' example.com]"
copy
Ping with custom buffer size
$ gping -b [100] [example.com]
copy
Set graph color
$ gping --color [blue] [example.com]
copy
Use simple graphics mode
$ gping -s [example.com]
copy
Show help
$ gping --help
copy

SYNOPSIS

gping [options] host...

DESCRIPTION

gping is a graphical ping tool that displays latency as a live updating graph in the terminal. Multiple hosts can be pinged simultaneously, each displayed with different colors for easy comparison.
The --cmd option executes arbitrary commands and graphs their numeric output, useful for graphing any time-series metric like response times or resource usage. Simple graphics mode (-s) uses basic characters for terminals lacking Unicode braille support.

PARAMETERS

-i, --interval seconds

Ping interval. Default: 0.2.
-b, --buffer size
Number of data points in graph. Default: 300.
-n, --watch-interval seconds
Interval for command execution graph.
-s, --simple-graphics
Use dot character instead of braille.
--vertical-margin lines
Vertical margin above graph.
--horizontal-margin cols
Horizontal margin beside graph.
-c, --color color
Graph line color (repeatable).
-4
Force IPv4.
-6
Force IPv6.
--cmd command
Execute command and graph output as float.
-h, --help
Display help information.
-V, --version
Display version information.

COLORS

red, green, blue, yellow, cyan, magenta, white, black

CAVEATS

Requires ICMP permissions (may need root/sudo on Linux). Terminal must support 256 colors for best display. Some terminals may not render braille characters correctly.

HISTORY

gping was created by Ohri Tzipora (orf) and first released around 2020. Written in Rust, it was designed as a modern alternative to traditional ping with visual feedback. The project gained popularity for its intuitive display and multi-host comparison capability.

SEE ALSO

ping(1), mtr(1), trippy(1), fping(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community