x ping | x-cmd mod | Enhanced modules for ping

2 min read Original article ↗

Ping network connectivity testing tool to test if a host is reachable.
Supports multiple visualization output modes including heatmap, bar chart, etc.

Examples

Example: Ping bing.com by default

Example: Ping bing.com

Example: Send 4 ping packets to 8.8.8.8

Example: Show ping results as heatmap

sh

x ping --heatmap 8.8.8.8

Example: Show ping results as bar chart

Example: Process ping output and display as heatmap

sh

ping bing.com | x ping vis --heatmap

Usage

sh

x ping [OPTIONS] [FLAGS] [SUB_COMMAND]

Options

Name, ShorthandDefaultDescription
-wTimeout period for waiting for a response, in seconds
-cThe number of requests sent

Flags

Name, ShorthandDescription
--verboseVerbose mode output (default mode)
--heatmap, -mOutput in heatmap mode
--bar, -bOutput in bar chart mode
--raw, -rOutput in raw data mode
--csvOutput in CSV format
--tsvOutput in TSV format

Sub Commands

NameDescription
x ping --runRun the ping command and display the results graphically
x ping visVisualize the results of the inputted ping command
x ping --Run the ping command directly

x ping --run

Run the ping command and display the results graphically

  • Usage:

x ping vis

Visualize the results of the inputted ping command

  • Usage:

sh

x ping vis [OPTIONS] [FLAGS]
  • Options:
Name, ShorthandDefaultDescription
--inputThe type of data input
  • Flags:
Name, ShorthandDescription
--verboseVerbose mode output (default mode)
--heatmap, -mOutput in heatmap mode
--bar, -bOutput in bar chart mode
--raw, -rOutput in raw data mode
--csvOutput in CSV format
--tsvOutput in TSV format

x ping --

Run the ping command directly

  • Usage:

TIP

In interactive terminal ( zsh, bash ... ), Can use Tab to get completion information

Run CMD SUBCOMMAND --help for more information on a command

This article author

Edwin Lee

Edwin Lee

X-CMD Founder & CEO

Please indicate the source and link of this article when reprinting.

Help us make these docs great!

All X-CMD docs are generated from command help and multiple data sources. See something that's wrong or unclear? Feel free to let us know through any of these ways~