gping 可视化ping工具 以图形格式显示ping命令输出

(编辑:jimmy 日期: 2024/12/24 浏览:2)

gping
gping是一个跨平台的命令行程序,当您尝试ping主机或网站时,该程序会在终端内部显示漂亮的图形。 作者这样描述它:“ ping,但带有图形”。
gping使用图形而不是数字和文本显示ping命令的输出。 它是一个用Rust编程语言编写的开源网络实用程序,并在MIT许可下发布。 gping目前支持的平台包括GNU / Linux,macOS和Windows。

https://wws.lanzoub.com/i9yFV0e9g8dg
[Shell] 纯文本查看 复制代码
gping 1.4.0commit_hash: d8d38bc6build_time: 2022-09-19 20:18:36 +00:00build_env: rustc 1.63.0 (4b91a6ea7 2022-08-08),stable-x86_64-pc-windows-msvcPing, but with a graph.USAGE:    gping.exe [FLAGS] [OPTIONS] [--] [hosts-or-commands]...FLAGS:        --cmd                Graph the execution time for a list of commands rather than pinging hosts    -h, --help               Prints help information    -4                       Resolve ping targets to IPv4 address    -6                       Resolve ping targets to IPv6 address    -s, --simple-graphics    Uses dot characters instead of braille    -V, --version            Prints version informationOPTIONS:    -b, --buffer <buffer>            Determines the number of seconds to display in the graph. [default: 30]    -c, --color <color>...            Assign color to a graph entry. This option can be defined more than once and the order which the colors are            provided will be matched against the hosts or commands passed to gping. Hexadecimal RGB color codes are            accepted in the form of '#RRGGBB' or the following color names: 'black', 'red', 'green', 'yellow', 'blue',            'magenta', 'cyan', 'gray', 'dark-gray', 'light-red', 'light-green', 'light-yellow', 'light-blue', 'light-            magenta', 'light-cyan', and 'white'        --horizontal-margin <horizontal-margin>    Horizontal margin around the graph (left and right) [default: 0]        --vertical-margin <vertical-margin>        Vertical margin around the graph (top and bottom) [default: 1]    -n, --watch-interval <watch-interval>            Watch interval seconds (provide partial seconds like '0.5'). Default for ping is 0.2, default for cmd is            0.5.ARGS:    <hosts-or-commands>...    Hosts or IPs to ping, or commands to run if --cmd is provided. Can use cloud                              shorthands like aws:eu-west-1.

一句话新闻

一文看懂荣耀MagicBook Pro 16
荣耀猎人回归!七大亮点看懂不只是轻薄本,更是游戏本的MagicBook Pro 16.
人们对于笔记本电脑有一个固有印象:要么轻薄但性能一般,要么性能强劲但笨重臃肿。然而,今年荣耀新推出的MagicBook Pro 16刷新了人们的认知——发布会上,荣耀宣布猎人游戏本正式回归,称其继承了荣耀 HUNTER 基因,并自信地为其打出“轻薄本,更是游戏本”的口号。
众所周知,寻求轻薄本的用户普遍更看重便携性、外观造型、静谧性和打字办公等用机体验,而寻求游戏本的用户则普遍更看重硬件配置、性能释放等硬核指标。把两个看似难以相干的产品融合到一起,我们不禁对它产生了强烈的好奇:作为代表荣耀猎人游戏本的跨界新物种,它究竟做了哪些平衡以兼顾不同人群的各类需求呢?