Skip to content

PingGraph

Latest
Compare
Choose a tag to compare
@FeldherrWeiprecht FeldherrWeiprecht released this 20 Jul 15:01

PingGraph

Description

PingGraph is a terminal based C program that continuously measures and visualizes the network latency (ping) to multiple hosts.
It displays a live bar graph in the console, tracks statistics and supports machine readable exports..

Features

  • Live ASCII latency bar graph in the terminal.
  • Color coded output (can be disabled with --no-color).
  • Tracks min / max / average latency per host.
  • Timeout detection.
  • Interactive or file based input.
  • Export results as JSON (--json).
  • Export results as CSV (--csv le>).
  • Interval mode (--interval N) or limited rounds (--limit N).
  • Final summary view (--summary).
  • Log to file with append mode (--log-append).
  • Works on Windows, Linux and macOS.

How to Use

  1. Download the correct binary for your platform below.
  2. Make it executable (Linux/macOS: chmod +x pinggraph).
  3. Run it from terminal.

Example usage:

./pinggraph --hosts hosts.txt --interval 5 --summary

To stop the program during live execution:

Press Ctrl+C

Files in this release

Each zip archive contains the compiled program for the corresponding platform (Windows, Linux and macOS).
The binary includes all dependencies it needs to run, except for the system ping command, which must be available in the system PATH..

  • pinggraph-v1.0.0-windows.zip

  • pinggraph-v1.0.0-linux.zip

  • pinggraph-v1.0.0-macos.zip

Built With

  • C (compiled with GCC or MSVC).
  • System ping command.
  • Standard POSIX or Windows API.