https://github.com/moralcode/autospeedtest
a simple docker container that collects network performance data over time to help diagnose issues
https://github.com/moralcode/autospeedtest
Last synced: 10 months ago
JSON representation
a simple docker container that collects network performance data over time to help diagnose issues
- Host: GitHub
- URL: https://github.com/moralcode/autospeedtest
- Owner: MoralCode
- Created: 2022-04-03T15:49:11.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-03T19:45:54.000Z (almost 4 years ago)
- Last Synced: 2025-02-13T08:19:48.230Z (12 months ago)
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AutoSpeedTest
This is a series of docker configs that serves a similar purpose to [this](https://github.com/henrywhitaker3/Speedtest-Tracker) other docker-based speedtest script that was part of an answer to a [featured superuser question](https://superuser.com/questions/1713989/test-internet-speed-over-a-period-of-time). Unfortunately, when I tried the demo on firefox it seemed as though the graphs [werent working correctly](https://github.com/henrywhitaker3/Speedtest-Tracker/issues/934). The large number of files in that repo also seemed potentially excessive for what it was (logging and graphing some data), so I decided to make my own.
This will also save the unix time to the nearest second when the test is done.
## Usage
run `docker build -t autospeedtest .` in the repo root to build the dockerfile. This sets up a cronjob to write the results of a speedtest to a CSV file in the `/data` folder every hour.
to run the container interactively, use the command: `docker run -it --volume :/data --network host autospeedtest`
the `--volume :/data` allows you to store and persist the generated CSV file somewhere.
`--network host` is important to avoid bottlenecks