Jirka's Public Notepad

Data Engineering | Python | SQL Server | Teradata

July 25, 2017 By Jiří Hubáček Leave a Comment

Java Pinger, part I

I needed some hard evidence for my ISP that every now and then short-time disruptions occur. These disruptions started being bloody annoying me as my VPN and VoIP calls get dropped.

The code is Windows specific at the moment. In the future, I’m gonna run it on my Raspberry PI and save records to MySQL instead of a text file. For now this is enough for me as the code generates pipe-separated text files in the following format:

ts|latency|lag_flag
2017-07-25 20:06:45.909|37|0
2017-07-25 20:06:46.901|28|0
2017-07-25 20:06:47.897|23|0

Using a visualization tool (Tableau is my favourite), one can then further visualize the values.

Happy pinging!

Related

Filed Under: Java Tagged With: java, network, ping

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • GitHub
  • LinkedIn
  • RSS
  • Twitter
© 2022 · Jiří Hubáček, PGP