https://github.com/ipeterov/pingline
Pingline - a less cool version of gping
https://github.com/ipeterov/pingline
cli ping
Last synced: 6 months ago
JSON representation
Pingline - a less cool version of gping
- Host: GitHub
- URL: https://github.com/ipeterov/pingline
- Owner: ipeterov
- License: gpl-3.0
- Created: 2022-07-07T21:14:40.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-07T23:23:44.000Z (almost 4 years ago)
- Last Synced: 2025-10-31T00:26:40.320Z (8 months ago)
- Topics: cli, ping
- Language: Python
- Homepage:
- Size: 1.06 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pingline - a less cool version of [gping](https://github.com/orf/gping)
This is just a package for me to practice working with PyPi. You should probably use [gping](https://github.com/orf/gping) instead. It doesn't require a heavy `matplotlib` dependency.
## Why even use this?
This is helpful for debugging ping problems with your WiFi:
* Try starting the interactive plotter and launching [fast.com](https://fast.com) - see the impact of heavy traffic on your ping
* Check if the router ping is as bad as internet ping. If so, the problem is with your router, else it's probably your ISP
## Installation
```
pip install pingline
```
## Usage
Launch the recorder - it's pinging our hosts and dumping the ping time-series into a log file, by default `ping_log.csv`. This CSV plays nicely with Excel, if you want to explore the data manually.
```
pingline recorder --interval=0 --router-host=192.168.0.1 --internet-host=google.com
```
Launch the interactive plotter - it watches the log file and shows a live graph of ping data.
```
pingline plotter --interactive --last-n-minutes=5
```
https://user-images.githubusercontent.com/4249837/177884337-d6c235b1-d017-4c9e-97c2-8a38d601e28c.mp4