Code Monkey home page Code Monkey logo

gping's Introduction

Simple Ping util written in Go which accepts hostnames and URLs as well.

Installation

go get github.com/Dundee/gping
sudo cp $GOPATH/bin/gping /usr/bin/gping
sudo setcap cap_net_raw+ep /usr/bin/gping

Usage

$ gping https://google.com/
PING google.com (216.58.201.110):
62 bytes from 216.58.201.110: icmp_seq=0 time=1.965933ms
62 bytes from 216.58.201.110: icmp_seq=1 time=2.489417ms
62 bytes from 216.58.201.110: icmp_seq=2 time=1.810876ms
62 bytes from 216.58.201.110: icmp_seq=3 time=1.62561ms
62 bytes from 216.58.201.110: icmp_seq=4 time=2.950999ms
^C
--- google.com ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.62561ms/2.168567ms/2.950999ms/485.582µs

gping's People

Stargazers

 avatar

Watchers

 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.