Skip to content

Latest commit

 

History

History
86 lines (64 loc) · 3.08 KB

README.md

File metadata and controls

86 lines (64 loc) · 3.08 KB

🏎 Nping

Nping is a Ping tool developed in Rust using the ICMP protocol. It supports concurrent Ping for multiple addresses, visual chart display, real-time data updates, and other features.

Nping demo

中文文档

White

Nping demo

Black

Nping demo

Table View

Nping demo

Installation

MacOS Homebrew

brew tap hanshuaikang/nping
brew install nping

nping --help

Feature:

  • Supports concurrent Ping for multiple addresses
  • Supports visual latency display
  • Real-time display of maximum, minimum, average latency, packet loss rate, and other metrics
  • Support IpV4 and IpV6
  • Supports concurrent pinging of n ip's under one address.

Roadmap:

  • Show country and city of IP
  • Add host sub-command, support to show the details of ip address corresponding to the domain name.
  • Optimize UI interface, add more dynamic effects.
  • When there are multiple addresses, the display will be sorted according to the average delay at the end.

Usage

nping www.baidu.com www.google.com www.apple.com www.sina.com -c 20 -i 2

nping --help

🏎 Nping mean NB Ping, A Ping Tool in Rust with Real-Time Data and Visualizations

Usage: nping [OPTIONS] <TARGET>...

Arguments:
  <TARGET>...  target IP address or hostname to ping

Options:
  -c, --count <COUNT>        Number of pings to send [default: 65535]
  -i, --interval <INTERVAL>  Interval in seconds between pings [default: 0]
  -6, --force_ipv6           Force using IPv6
  -m, --multiple <MULTIPLE>  Specify the maximum number of target addresses, Only works on one target address [default: 0]
  -v, --view-type <VIEW_TYPE>  view mode graph or table [default: graph]
  -h, --help                 Print help
  -V, --version              Print version

Acknowledgements

Thanks to these people for their feedback and suggestions for 🏎Nping!

| zx4i | snail2sky | shenshouer | vnt-dev | qingyuan0o0 | Onlywzr

Thanks to these self-media for reposting and paying attention to 🏎Nping!

| 阮一峰的网络日志 |Rust 中文社区 | 公众号:奇妙的linux世界 | 公众号:IT运维技术圈 | X:@geekbb | 公众号:一飞开源

Star History

Star History Chart