Skip to content

hirose31/pinger

Repository files navigation

Software License test Go Report Card Go Doc

Pinger

Pinger helps you to monitor many hosts using ICMP ECHO_REQUEST.

Installation

Download from release page.

Usage

pinger HOSTNAME_OR_IPADDR [HOSTNAME_OR_IPADDR ...]

pinger sends ICMP packets using raw socket, so requires root privileges.

  • sudo pinger ...
  • run by root
  • chown root pinger; chmod 4755 pinger and run by normal user
  • setcap cap_net_raw=ep pinger and run by normal user (Linux only)

You can write failed history to a file by redirecting stderr to a file.

$ sudo pinger example.com example.net 192.0.2.1 192.0.2.2 192.0.2.3 2> pinger.log

Two numerical numer are RTT and average of RTT (max latest 10 samples).

Push ESC or C-c to exit.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published