Interactively ping one or many hosts from one or multiple locations (locally or via SSH)
Project description
ping-multi-ext
This tool lets you interactively ping:
One host from multiple locations (via SSH)
Multiple hosts from one location (local machine, or remote via SSH)
Multiple hosts from multiple locations (via SSH)
Screenshots
The main screen:
Full history of the “ping” raw output for a selected host:
Description
The ping results are summarized in real-time and you can also observe the following statistics:
TX_cnt: Count of sent PING requests
RX_cnt: Count of received PING replies which are not timeouts
XX_cnt: Count of timeouts and missing PING replies
Loss%: Packet loss defined as the percentage of timed out and missing replies
Avg: Average round trip time (RTT)
Min: Minimum (best) RTT
Max: Maximum (worst) RTT
StDev: Population standard deviation of all RTT data
The interactive UI interface lets you visualize the RTT summary in three modes:
Successful vs. unsuccessful PING replies
The RTT values (ping time) as a number
Scaled per 100 ms where “0” means an RTT between 0 and 99 ms, “1” means an RTT between 100 and 199 ms, and so on
You also have the option to review each host’s “ping” command raw output. The full history is kept and you can navigate using the keys PgUp/PgDn/Home/End.
No “root” privileges are required because for each host an external process is started which uses the standard “ping” command.
You can select the statistics forwards and backwards using the lower “s” and upper “S” keys, similar to the “Vim” behavior.
Installation
pip3 install ping-multi-ext
The executable “ping-multi” is automatically added to your “~/.local/bin” directory which you should add to your “$PATH” environment, so that you can easily execute “ping-multi”.
If you install the package globally using “root” privileges, then the binaries are added in “/usr/local/bin” and you should be able to use them right away with no additional setup.
Examples
Ping multiple hosts specified directly on the command-line; you can also provide just one host:
ping-multi google.com github.com
You can also use SSH to run “ping” on remote machines:
ping-multi google.com github.com github.com@root@my-server.com
Ping multiple hosts specified in a file; you can also add more single hosts directly as additional command-line arguments:
ping-multi -f sample.list
The usage help explains the additional command-line options:
$ ping-multi -h usage: ping-multi [-h] [--version] [-W,--wait SECS] [-i,--interval SECS] [-f,--file FILE] [--hosts-max-width HOSTS_MAX_WIDTH] [host [host ...]] Ping all hosts from FILE and HOSTs. positional arguments: host host to ping; you can specify this option many times optional arguments: -h, --help show this help message and exit --version show program's version number and exit -W,--wait SECS timeout in seconds to wait for a ping reply; default=1 -i,--interval SECS time in seconds between sending each request; default=1 -f,--file FILE read list of hosts from file --hosts-max-width HOSTS_MAX_WIDTH maximum width of the hosts column; default=0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ping-multi-ext-1.0.7.tar.gz
.
File metadata
- Download URL: ping-multi-ext-1.0.7.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62615078d61cea4ec11e56fd88c1649e5c7da19e341c20a752d1744247a09b1d |
|
MD5 | 47563a743b04e7eba0a7b92150e79f85 |
|
BLAKE2b-256 | 1f305ba81d35c2a718d04d2eb9f9ba250beed2e308b39f26994d6225d7023c46 |
File details
Details for the file ping_multi_ext-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: ping_multi_ext-1.0.7-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b805b23e9ee43f5158fa9dd2b57eaadc3eeaa3d26a40030abfcdf2e9028f791 |
|
MD5 | 32b8fd3ba9e23fc70e45c5e1b49252b1 |
|
BLAKE2b-256 | 0f0746e3ee318107bcc787195a1d38a1efd1ef4224129fc349b00b2152b975fb |