Categorygithub.com/progiv/pinger
modulepackage
0.0.0-20240423174938-e87dc15ea7e2
Repository: https://github.com/progiv/pinger.git
Documentation: pkg.go.dev

# README

Simple ping utility written in Go

Go

Build:

go build

Usage:

pinger [Options] ya.ru

Supported features

Makes ICMP IPv4 echo requests in a loop with given interval. For each echo reply utility reports time passed between request and reply. At the end of execution it reports packet loss and echo statistics.

  • -W <duration> limits response wait time
  • -c <count> limits number of sent requests
  • -i <interval> specifies interval between request the pinger sends
  • -t <count> Option to set Time to leave