28

GitHub 霸榜!比 ping 强大百倍的 gping 一天拿下 2.5k Star

 3 years ago
source link: https://mp.weixin.qq.com/s?__biz=MzAxMDM0MzQ4Mg%3D%3D&%3Bmid=2451061835&%3Bidx=1&%3Bsn=1f6cf9722920d0e98e3cd9851541aaf4&%3Bchksm=8cbd591ebbcad008fc5cc49968eb48ec7533134188d572b8a3bdfc921a1e114c83d695578dbe&%3Btoken=349605411&%3Blang=zh_CN
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

大家平常测试网络连接的 ping 命令,有哪些缺点呢?

本期前哨君给大家推荐一个比 ping 强大百倍的实用工具 gping,已经连两天登上 GitHub 日榜,收获 2800+ Star

BnMVvaE.png!mobile

gping 的开发小哥是 Tom Forbes, 当前版本采用用 Rust 实现, 以前老版本是用 Python 实现的。

项目链接:

https://github.com/orf/gping

安装方式

MacOS 和  Linux 系统,执行下面两个命令

brew tap orf/brew
brew install gping

Windows 系统则需要先下载二进制源文件,

fu6rE3A.png!mobile

https://github.com/orf/gping/release s

解压缩后挪到系统路径 Path 路径下,然后执行下面这个命令安装:

cargo install gping

gping 用法

$ gping --help
gping 0.1.7
Ping, but with a graph.


USAGE:
gping [OPTIONS] <hosts>...


FLAGS:
-h, --help Prints help information
-V, --version Prints version information


OPTIONS:
-b, --buffer <buffer> Determines the number pings to display. [default: 100]


ARGS:
<hosts>... Hosts or IPs to ping

使用感受

gping 的优点实在太明显了,大家请直接看对比。

ping 命令

jY77RvI.png!mobile

gping 命令

图表比纯文字提醒的体验强多了,太好用了 ,已安利给同事~

11 月 16 日刚上架的时候,gping 还只支持 ping 单个目标网址。今天新版优化后,已支持同时 ping 两个目标网址。

I3qAryr.gif!mobile

- EOF - 

更多优秀开源项目 (点击下方图片可跳转)

UrmQb2y.jpg!mobile

QN3YrqY.jpg!mobile

UJZ7NbY.jpg!mobile

如果觉得本文介绍的开源项目不错,欢迎转发推荐给更多人。

zAvAjmM.jpg!mobile

分享、点赞和在看

支持我们分享更多优秀开源项目,谢谢!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK