GithubHelp home page GithubHelp logo

stping's Introduction

stping

Go Report License Release

A small utility to test ICMP latency from multiple source IP simultaneously.

Example

~ » sudo stping -s "2001:xxx:1:xxx::2,2a04:xxxx:2:xxxx::4,2001:6xx:xxx::1" -t he.net
Resolving he.net...2001:470:0:503::2, 216.218.236.2
STPING he.net (2001:470:0:503::2) from 3 sources:
Source               Sent  Loss  Min       Max       Avg
2001:xxx:1:xxx::2    1    0.00%  1.255ms   1.255ms   1.255ms 
2a04:xxxx:2:xxxx::4  1    0.00%  1.098ms   1.098ms   1.098ms 
2001:6xx:xxx::1      1    0.00%  820µs     820µs     820µs   
2001:xxx:1:xxx::2    2    0.00%  1.255ms   1.284ms   1.269ms 
2a04:xxxx:2:xxxx::4  2    0.00%  1.098ms   1.191ms   1.144ms 
2001:6xx:xxx::1      2    0.00%  637µs     820µs     729µs   
2001:xxx:1:xxx::2    3    0.00%  1.105ms   1.284ms   1.214ms 
2a04:xxxx:2:xxxx::4  3    0.00%  1.031ms   1.191ms   1.107ms 
2001:6xx:xxx::1      3    0.00%  451µs     820µs     636µs   
^C
--- 2001:470:0:503::2 stping statistics source 2001:xxx:1:xxx::2 ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.01878ms/1.165911ms/1.284092ms/108.742µs

--- 2001:470:0:503::2 stping statistics source 2a04:xxxx:2:xxxx::4 ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.010895ms/1.083099ms/1.191288ms/70.386µs

--- 2001:470:0:503::2 stping statistics source 2001:6xx:xxx::1 ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 376.797µs/571.659µs/820.798µs/172.4µs

Installation

This project is available in my public code repositories. See https://github.com/natesales/repo for more info.

Usage

Usage for stping https://github.com/natesales/stping:
  -T uint
        Seconds to wait for a response (default 60)
  -i uint
        Seconds between pings (default 1)
  -s string
        Comma separated list of source IP addresses
  -t string
        Target hostname to ping
  -u    Use UDP instead of ICMP

stping's People

Contributors

natesales avatar

Stargazers

Jean-Francis AHANDA avatar Nikola avatar Thomas Scott avatar Maksim avatar Ryan Gelobter avatar Roman Dodin avatar Gabriel C. avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.