Skip to content

gping

A ping tool for the terminal that draws response times as a live graph.

Stars
12.7k
Forks
373
Licence
MIT
Language
Rust
Last update
1 months ago
Type
CLI

What it is

gping is a command-line tool that works like ping but plots the response times as a live graph in your terminal. You can watch several hosts at once, and it can also graph how long a command takes to run using the --cmd flag. It is useful for seeing latency changes over time at a glance.

  • Ping google.com and watch latency on a live graph
  • Graph the execution time of a command such as curl google.com using --cmd
  • Compare several hosts on one graph, each with its own colour
  • Ping AWS regions using shorthands like aws:eu-west-1

Great for

  • Engineers who want to watch network latency visually while troubleshooting
  • People comparing response times across several hosts at once
  • Users timing how long a repeated command takes to run
  • Anyone on Windows, macOS or Linux who wants a terminal graph instead of plain ping output

Not ideal for

  • People who only need a simple one-off ping result, since plain ping is already built in on most systems
  • Users who need a graphical desktop app, because gping is terminal-only
  • Anyone needing cloud-region pinging beyond AWS, since the README says only aws shorthands are currently supported
Step-by-step guide: how to use gpingInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    Install with a package manager

    Homebrew (macOS)

    brew install gping

    Cargo (requires rustc 1.67.0 or greater)

    cargo install gping
  2. 2

    Run it

    • Install gping using one of the package manager commands listed in the README
    • Run gping google.com to ping a host and see the graph
    • Add more hosts, for example gping google.com 1.1.1.1, to compare them
    • Try gping --cmd curl google.com to graph how long a command takes
  3. 3

    Get the most out of it

    • Use -n or --watch-interval to change how often samples are taken, such as 0.5 seconds
    • Use -b or --buffer to change how many seconds of history the graph shows (default 30)
    • Use -c or --color with hex codes or named colours to tell multiple hosts apart
    • Use -s or --simple-graphics if your terminal does not render braille characters well
    • Use -4 or -6 to choose IPv4 or IPv6 resolution for ping targets

Downloads

Strengths

  • Shows multiple hosts or commands on one graph, which plain ping does not
  • Supports custom colours, including hex codes and named colours
  • Works on Windows, macOS and Linux, and is available through many package managers

Trade-offs

  • The README does not describe its features in detail beyond the options listed, so behaviour on edge cases is unclear
  • Cloud shorthand support is limited to AWS according to the README
  • Some install routes, such as Cargo, require a minimum Rust version of 1.67.0

How it compares

ProjectStarsTypeLevelUpdatedBest for
gping (this)12.7kCLIbeginner1 months agoEngineers who want to watch network latency visually while troubleshooting
PowerShell56kCLIbeginner4 days agoDevelopers who script or automate tasks across Windows, Linux, and macOS
dockerfiles13.9kCurated listintermediate2.3 years agoDevelopers who want working examples of Dockerfiles for desktop applications run in containers
shell_gpt12.3kCLIbeginner4 months agoDevelopers who often forget shell or command-line syntax
zoxide40.4kDev toolbeginner4 days agoDevelopers who move between many project folders in a terminal
linux-command37.2kLearning resourcebeginner6 days agoPeople learning the Linux command line who want quick, readable command explanations

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.