ipeterov / pingline

Pingline - a less cool version of gping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pingline - a less cool version of gping

This is just a package for me to practice working with PyPi. You should probably use 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 - 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
Example.mp4

About

Pingline - a less cool version of gping

License:GNU General Public License v3.0


Languages

Language:Python 100.0%