Skip to content

Simple ICMP ping tester with packet loss and latency shown while running.

Notifications You must be signed in to change notification settings

prostraction/dping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detailed Ping Go (Go 1.17+)

Codacy Badge

Simple ICMP ping tester with packet loss shown while running.

dping1

Get project:

git clone https://github.com/prostraction/Detailed-Ping-Go
cd Detailed-Ping-Go

Run:

go run dping.go

Build:

go build -o bin/dping.exe

ICMP connection may require superuser privileges. If you encountered an error like listen ip4:icmp 0.0.0.0: socket: operation not permitted try:

sudo go run dping.go

Usage:

dping IPv4 [arguments]

Available arguments:

  • -t [msec] or --timeout [msec] Set timeout for packets. (default msec = 300)
  • -i s/m/h or --interval s/m/h Set logging interval to sec/min/hour. (default i = s)
  • -s or --second Enable logging second drop stats. (default enabled, if i = s)
  • -m or --min Enable logging minute drop stats. (default enabled, if i = m)
  • -h or --hour Enable logging hour drop stats. (default enabled, if i = h)
  • -3h or --3hour Enable logging 3 hour drop stats (default disabled)
  • -p or --packets Enable logging packets count stats. (default disabled)

About

Simple ICMP ping tester with packet loss and latency shown while running.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages