https://github.com/orf/gping Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. {{ message }} orf / gping Public * Notifications * Fork 267 * Star 8.1k Ping, but with a graph License MIT license 8.1k stars 267 forks Star Notifications * Code * Issues 15 * Pull requests 4 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights orf/gping This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 8 branches 51 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/o] Use Git or checkout with SVN using the web URL. [gh repo clone orf/gp] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @dependabot dependabot[bot] Merge pull request #305 from orf/dependabot/cargo/ const_format-0.2.31 ... be060c1 Jul 1, 2023 Merge pull request #305 from orf/dependabot/cargo/const_format-0.2.31 be060c1 Git stats * 475 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github Fix homebrew output version May 24, 2023 16:36 gping Bump const_format from 0.2.30 to 0.2.31 July 1, 2023 14:31 images Support pinging multiple hosts (#83) November 16, 2020 21:33 pinger Bump regex from 1.8.2 to 1.8.4 June 6, 2023 11:00 .dockerignore Huge refactor. Support executing multiple commands. November 29, 2020 15:16 .gitignore Reduce energy usage of gping January 27, 2023 19:24 CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md January 17, 2022 03:08 Cargo.lock Bump const_format from 0.2.30 to 0.2.31 July 1, 2023 14:31 Cargo.toml Reduce energy usage of gping January 27, 2023 19:24 Cross.toml Test on alpine specifically September 19, 2022 17:59 Dockerfile Huge refactor. Support executing multiple commands. November 29, 2020 15:16 LICENSE Create LICENSE November 14, 2020 06:42 gping.1 Added manpage January 11, 2023 22:11 readme.md clear graph from history May 23, 2023 11:32 View code gping Table of Contents Install Usage readme.md gping Crates.io Actions Status Ping, but with a graph. [readme-exa] Comes with the following super-powers: * Graph the ping time for multiple hosts * Graph the execution time for commands via the --cmd flag * Custom colours * Windows, Mac and Linux support Table of Contents * Install * Usage Packaging status Install * macOS + Homebrew: brew install gping + MacPorts: sudo port install gping * Linux (Homebrew): brew install gping * CentOS (and other distributions with an old glibc): Download the MUSL build from the latest release * Windows/ARM: + Scoop: scoop install gping + Chocolatey: choco install gping + Download the latest release from the github releases page * Fedora (COPR): sudo dnf copr enable atim/gping -y && sudo dnf install gping * Cargo (This requires rustc version 1.44.0 or greater): cargo install gping * Arch Linux: pacman -S gping * Ubuntu/Debian (Azlux's repo): echo "deb http://packages.azlux.fr/debian/ buster main" | sudo tee /etc/apt/sources.list.d/azlux.list wget -qO - https://azlux.fr/repo.gpg.key | sudo apt-key add - sudo apt update sudo apt install gping * Gentoo (dm9pZCAq overlay): sudo eselect repository enable dm9pZCAq sudo emerge --sync dm9pZCAq sudo emerge net-misc/gping::dm9pZCAq * FreeBSD: + pkg: pkg install gping + ports cd /usr/ports/net-mgmt/gping; make install clean Usage Just run gping [host]. host can be a command like curl google.com if the --cmd flag is used. You can also use shorthands like aws:eu-west-1 or aws:ca-central-1 to ping specific cloud regions. Only aws is currently supported. $ gping --help Ping, but with a graph. Usage: gping [OPTIONS] [HOSTS_OR_COMMANDS]... Arguments: [HOSTS_OR_COMMANDS]... Hosts or IPs to ping, or commands to run if --cmd is provided. Can use cloud shorthands like aws:eu-west-1. Options: --cmd Graph the execution time for a list of commands rather than pinging hosts -n, --watch-interval Watch interval seconds (provide partial seconds like '0.5'). Default for ping is 0.2, default for cmd is 0.5. -b, --buffer Determines the number of seconds to display in the graph. [default: 30] -4 Resolve ping targets to IPv4 address -6 Resolve ping targets to IPv6 address -i, --interface Interface to use when pinging -s, --simple-graphics Uses dot characters instead of braille --vertical-margin Vertical margin around the graph (top and bottom) [default: 1] --horizontal-margin Horizontal margin around the graph (left and right) [default: 0] -c, --color Assign color to a graph entry. This option can be defined more than once as a comma separated string, and the order which the colors are provided will be matched against the hosts or commands passed to gping. Hexadecimal RGB color codes are accepted in the form of '#RRGGBB' or the following color names: 'black', 'red', 'green', 'yellow', 'blue', 'magenta','cyan', 'gray', 'dark-gray', 'light-red', 'light-green', 'light-yellow', 'light-blue', 'light-magenta', 'light-cyan', and 'white' -h, --help Print help information -V, --version Print version information --clear Clear the graph from the terminal after closing the program About Ping, but with a graph Topics linux shell rust cli command-line graph ping network-monitoring Resources Readme License MIT license Code of conduct Code of conduct Stars 8.1k stars Watchers 76 watching Forks 267 forks Report repository Releases 33 gping-v1.12.0 Latest May 24, 2023 + 32 releases Packages 0 No packages published Used by 159 * @AlexLaFroscias * @rgathub * @wangyu- * @wilsonkor * @xmy123 * @LK26 * @wwj-git-rgb * @HanBYY + 151 Contributors 45 * @orf * @dependabot[bot] * @marsp0 * @hbina * @thepacketgeek * @djinn * @Thynix * @niutech * @p2004a * @petervaro * @LouisBrunner + 34 contributors Languages * Rust 93.2% * Roff 6.2% * Dockerfile 0.6% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time.