I’ve been struggling with sporadic disconnects for a while. Often it requires me to restart the modem and router. Never quite got down to measuring the performance though.
After a little searching found this tool called Internet Connectivty Monitor. Got it running with a simple java -jar jarname
Other good related software to check out: splunk, firestarter.