# gping

> Ping utility with real-time graphical display of response times and command execution times

Stars: 12.7k · Language: Rust · License: MIT · Categories: Network

- Repository: https://github.com/orf/gping
- Page: https://www.trmn.sh/tools/gping

## Install

- Homebrew: `brew install gping`
- Cargo: `cargo install gping`
- APT: `apt install gping`

## Overview

gping is a network monitoring tool that extends traditional ping functionality with real-time graphical visualization. It displays ping response times as continuously updating graphs in the terminal, allowing users to monitor network latency patterns over time. The tool supports pinging multiple hosts simultaneously, with each target rendered as a separate graph line.

Beyond standard network pings, gping can graph execution times for arbitrary commands using the `--cmd` flag. This feature transforms it into a general-purpose performance monitoring tool for any command-line operation. The tool includes cloud provider shortcuts like `aws:eu-west-1` for pinging specific AWS regions, making it useful for monitoring cloud infrastructure connectivity.

The interface offers customization options including custom colors for different targets, adjustable time buffers (default 30 seconds), configurable watch intervals, and support for both IPv4 and IPv6. Users can specify network interfaces, adjust graph margins, and choose between braille or simple dot characters for the display. gping supports cross-platform deployment on Windows, macOS, Linux, and FreeBSD.

### Installation

```bash
# via Homebrew
brew install gping
```

```bash
# via Cargo
cargo install gping
```

```bash
# via APT
apt install gping
```

![gping terminal interface showing real-time ping graphs](https://media.trmn.sh/cached/23f7ce0be2416fa5b51d5742fb4b42ce06b4fa0d7888c26cad6656280f731da9.gif)

## Alternatives

- [bandwhich](https://www.trmn.sh/tools/bandwhich.md): CLI utility that displays current network utilization by process, connection and remote IP/hostname (Rust, 12.0k stars)
- [oha](https://www.trmn.sh/tools/oha.md): HTTP load generator written in Rust that sends requests to a web application and shows live results in a terminal UI, inspired by rakyll/hey. (Rust, 10.7k stars)
- [monolith](https://www.trmn.sh/tools/monolith.md): CLI tool that bundles web pages into single HTML files with all CSS, images, and JavaScript embedded inline (Rust, 15.6k stars)
- [websocat](https://www.trmn.sh/tools/websocat.md): Command-line WebSocket client and server, like netcat, curl and socat for ws:// and wss://, with TCP/UNIX socket proxying and program execution. (Rust, 8.7k stars)
- [xh](https://www.trmn.sh/tools/xh.md): HTTP client that reimplements HTTPie's syntax with focus on improved performance and speed. (Rust, 8.2k stars)

## Guides

- [Modern Replacements for ping](https://www.trmn.sh/replace/ping): gping graphs ping latency in the terminal; Trippy combines ping and traceroute with per-hop stats. Compare both as ping replacements.

---

Canonical: https://www.trmn.sh/tools/gping
