ARTICLE AD BOX
My router has a problem with cutting out at random intervals, and I want to determine whether the problem is with the router or with the provider's servers.
I'm currently doing this by having two ping -t commands run simultaneously, one to the router and one to the server. I look for drops and see if they happen at the same time.
I wanted to create a python program that logs drops or spikes in delay, but I currently cannot find a way to repeatedly read the output of a looping command like ping. Everything I found consisted of one call and one output. Does anyone have any advice on how to repeatedly get this output?
