A simple python command-line tool to graph real-time ping/httping latency.
Usage: python ping.py [-h] [-H HOST] [-i INTERVAL] [-l LIMIT] [-t TIMEOUT]
python httping.py [-h] [-H HOST] [-i INTERVAL] [-l LIMIT] [-t TIMEOUT]
Plots a real-time graph of ping latency.
optional arguments:
-h, --help show this help message and exit
-H HOST, --host HOST the host to ping
-i INTERVAL, --interval INTERVAL
the interval (in ms) between consecutive ping calls
-l LIMIT, --limit LIMIT
max number of data points to display
-t TIMEOUT, --timeout TIMEOUT
max ping timeout (in ms)
Python v3+ is required to run the tool, with additional libraries:
You can also install all of them using:
pip install -r requirements.txt