A Rust-based ping tool that pings multiple hosts concurrently with real-time charts, TCP ping, and Prometheus exporter mode.
orf/gping
A command-line ping tool that graphs round-trip times for multiple hosts, or execution times for commands, in the terminal.
- Stars
- 12,724
- Forks
- 372
- Open issues
- 43
- Last commit
- 16 days ago
What is it?
gping is a terminal tool that works like ping but draws the results as a live graph. You can pass several hosts at once and see their latency plotted side by side, which makes it easier to spot jitter or packet-loss patterns than reading a stream of numbers.
With the --cmd flag, gping instead graphs how long a shell command takes to run each time it executes, so it can be used to watch the timing of any repeated command. Hosts can also be given as shorthands such as aws:eu-west-1 to ping AWS regions. Options cover the watch interval, graph buffer length, IPv4 or IPv6 resolution, network interface selection, colours and simple ASCII rendering.
The project is written in Rust and runs on Windows, macOS and Linux. It is distributed through Homebrew, Cargo, several Linux distribution repositories, Scoop, Chocolatey, WinGet and Docker.
Key features
- 01Plots ping latency for multiple hosts on one live graph.
- 02Graphs execution time of arbitrary commands via --cmd.
- 03Supports cloud region shorthands like aws:eu-west-1.
- 04Lets you choose IPv4 or IPv6, network interface, and custom colours.
- 05Runs on Windows, macOS and Linux.
Use cases
- Watching latency and packet loss to several servers or gateways at once while troubleshooting a network.
- Comparing response times between cloud regions before choosing a deployment location.
- Measuring how long a repeated shell command takes and spotting slowdowns over time.
Quick start
- 1
Install via Homebrew
brew install gping - 2
Ping a host to see the graph
gping google.com
Things to know
- Ping-based latency graphs need the host to respond to ICMP, which some networks block.
- Graphing command execution time requires the --cmd flag and uses a different default interval.
Topics
FAQ
- What is gping?
- A command-line ping tool that graphs round-trip times for multiple hosts, or execution times for commands, in the terminal. gping is a terminal tool that works like ping but draws the results as a live graph. You can pass several hosts at once and see their latency plotted side by side, which makes it easier to spot jitter or packet-loss patterns than reading a stream of numbers.
- Is gping free to use? What license does it have?
- gping is open source under the MIT license. Check the license terms before using it in commercial products.
- Is gping still maintained?
- Actively maintained. The last commit to gping was on Oct 6, 2026.
- What can I use gping for?
- Watching latency and packet loss to several servers or gateways at once while troubleshooting a network. Comparing response times between cloud regions before choosing a deployment location. Measuring how long a repeated shell command takes and spotting slowdowns over time.
- How do I install gping?
- Install via Homebrew: brew install gping Ping a host to see the graph: gping google.com
- Where can I get gping?
- The source code and installation instructions are on GitHub: https://github.com/orf/gping
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A terminal network diagnostic tool that combines traceroute and ping to help analyze network connectivity issues.
A terminal network diagnostics tool in Rust that shows live traffic, connections, packets and diagnoses with one command.
An open-source, AI-integrated terminal for macOS, Linux and Windows that supports BYOK and local models, durable SSH sessions and inline file previews.
A terminal UI for Linux that lists listening network ports and lets you inspect or kill the owning processes.
A cross-platform, GPU-accelerated OpenGL terminal emulator that relies on other tools like tmux for tabs and splits.