laixintao/pingtop:
2019-04-10 17:33:32 Author: github.com(查看原文) 阅读量:210 收藏

Join GitHub today

GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.

Sign up

🏓Ping multiple servers and show the result in a top like terminal UI.

Ping multiple servers and show the result in a top like terminal UI.

asciicast

Usage

pip install pingtop

Then ping mutiple server:

pingtop baidu.com google.com twitter.com

This project is using click. Check helo info with pingtop -h.

~ pingtop --help
Usage: pingtop [OPTIONS] [HOST]...

Options:
  -s, --packetsize INTEGER        specify the number of data bytes to be sent.
                                  The default is 56, which translates into 64
                                  ICMP data bytes when combined with the 8
                                  bytes of ICMP header data.  This option
                                  cannot be used with ping sweeps.  [default:
                                  56]
  -l, --logto PATH
  -v, --log-level [DEBUG|INFO|WARNING|ERROR|CRITICAL]
  --help                          Show this message and exit.

文章来源: https://github.com/laixintao/pingtop
如有侵权请联系:admin#unsafe.sh