🏎 Nping

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

Nping demo

Featured|HelloGitHub

[中文文档](./README_ZH.md) **Graph View**

Nping demo

**Table View**

Nping demo

**Point View**

Nping demo

## Installation #### MacOS Homebrew ```bash 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 ```bash 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] ... Arguments: ... target IP address or hostname to ping Options: -c, --count Number of pings to send [default: 65535] -i, --interval Interval in seconds between pings [default: 0] -6, --force_ipv6 Force using IPv6 -m, --multiple Specify the maximum number of target addresses, Only works on one target address [default: 0] -v, --view-type View mode graph/table/point [default: graph] -o, --output Output file to save ping results -h, --help Print help -V, --version Print version ``` ## Acknowledgements Thanks to these people for their feedback and suggestions for 🏎Nping! | [ThatFlower](https://github.com/ThatFlower) | [zx4i](https://github.com/zx4i) | [snail2sky](https://github.com/snail2sky) | [shenshouer](https://github.com/shenshouer) | [vnt-dev](https://github.com/vnt-dev) | [qingyuan0o0](https://github.com/qingyuan0o0) | [Onlywzr](https://github.com/Onlywzr) Thanks to these self-media for reposting and paying attention to 🏎Nping! | [阮一峰的网络日志](https://www.ruanyifeng.com/blog/weekly/) |[Rust 中文社区](https://rustcc.cn/) | [公众号:奇妙的linux世界](https://mp.weixin.qq.com/s/lK_OqKp2yY8lDBoyLxtdGA) | [公众号:IT运维技术圈](https://mp.weixin.qq.com/s/bDJZ-H02dIKG3R7LQCeyaQ) | [X:@geekbb](https://x.com/geekbb/status/1875754541905539510) | [公众号:一飞开源](https://mp.weixin.qq.com/s/BZjr54h8dIQgzr8UW3fwOQ) | [公众号: 开源日记](https://mp.weixin.qq.com/s/uGtkD4x_XOFyKNbIy5pHYA) ## Star History [![Star History Chart](https://api.star-history.com/svg?repos=hanshuaikang/Nping&type=Date)](https://star-history.com/#hanshuaikang/Nping&Date)