connectionlogger

command module
v0.0.0-...-446113b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 7 Imported by: 0

README

Connection Logger

This is a simple utility that simply pings a 8.8.8.8 every few seconds. It fires 3 pings and counds as an outage if all of them are lost. It will then time consecutive outages and record them into a file info.log small outages (less than 10 seconds) will not be logged

Every 10 minutes an outage summary is printed to stdout

run with:

go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL