mping

command module
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

README

mping

GitHub GitHub Action Go Report Card GoDoc

a multi-targets ping tool, which supports 10,000 packets/second

一个高频ping工具,支持多个目标。 正常的ping一般用来做探测工具,mping还可以用来做压测工具。 更精准的时延。

Usage

compile

go build .

options usage.

> $$ mping -h     

Usage: mping [options] <host list>

  -c int
        count, 0 means non-setting
  -d int
        delay seconds (default 3)
  -l int
        packet size (default 64)
  -r int
        rate, 100 means 100 packets per second (default 100)
  -t duration
        timeout (default 1s)
  -z int
        tos, 0 means non-setting
  --bitflip bool
        check whether there is bit flipped

example

sudo ./mping -r 5 8.8.8.8
sudo ./mping -r 100 8.8.8.8/30,8.8.4.4,github.com
sudo ./mping -r 100 github.com,bing.com

docker:

sudo docker run --rm -it smallnest/mping 8.8.8.8

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