Skip to content

Python script to ping a server (Google by default) to test for latency. Includes a threshold setting allowing you to log entries that take longer than X milliseconds. Created with love by FlipperPA fueled by his loathing of Comcast.

License

Notifications You must be signed in to change notification settings

jcronyn/latency-tester

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

latency-tester

A simple Python script to ping a server (Google by default) to test for latency issues. Includes a threshold setting allowing you to log entries that take longer than X milliseconds. Created with love by FlipperPA fueled by his loathing of Comcast.

Requires Python and the Python library pexpect, available by pip install.

Install & Running

To install dependencies:

$ pip install -r requirements.txt

To run:

$ python latency-tester.py

Building Docker Container

$ docker build -t latency-tester .

Running Docker Container

$ docker run --name latency-tester latency-tester

With log files mapped to host:

$ docker run --name latency-tester -v <host_dir>:/root/logs/. latency-tester

About

Python script to ping a server (Google by default) to test for latency. Includes a threshold setting allowing you to log entries that take longer than X milliseconds. Created with love by FlipperPA fueled by his loathing of Comcast.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%