pinger

command module
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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.

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
⌂ 换网址