当前位置:网站首页>使用paping工具进行tcp端口连通性检测
使用paping工具进行tcp端口连通性检测
2022-07-05 06:26:00 【寻花之梦~~】
工具简介
用于对TCP端口连通性测试。通常我们测试ip是否可达会使用ping命令,测试端口是否联通会使用telnet命令。现在可以使用paping来替代。
安装教程
参考:https://code.google.com/archive/p/paping/downloads
使用教程
解压后是一个二进制的paping文件,可以直接执行。查看帮助信息如下:
~]# paping -h
paping v1.5.5 - Copyright (c) 2011 Mike Lovell
Syntax: paping [options] destination
Options:
-?, --help display usage
-p, --port N set TCP port N (required)
--nocolor Disable color output
-t, --timeout timeout in milliseconds (default 1000)
-c, --count N set number of checks to N
案例演示
对baidu.com的80端口做TCP连接测试,次数为6。可以得到统计结果:失败成功次数,最小,最大,平均延迟
若需要记录时间戳的话可以参考下面这个命令:
~]# paping -p 80 -c 6 www.jd.com | awk '{print strftime("%Y-%m-%d %H:%M:%S",systime())"\t"$0}'
边栏推荐
- There are three kinds of SQL connections: internal connection, external connection and cross connection
- [Gaode map POI stepping pit] amap Placesearch cannot be used
- 3.Oracle-控制文件的管理
- H5 embedded app adapts to dark mode
- LSA Type Explanation - lsa-1 [type 1 LSA - router LSA] detailed explanation
- ollvm编译出现的问题纪录
- 论文阅读报告
- 2.Oracle-数据文件的添加及管理
- Speedtree01 generator properties
- LSA Type Explanation - lsa-5 (type 5 LSA - autonomous system external LSA) and lsa-4 (type 4 LSA - ASBR summary LSA) explanation
猜你喜欢

MySQL (UDF authorization)

Adg5412fbruz-rl7 applies dual power analog switch and multiplexer IC

TCP's understanding of three handshakes and four waves

Day 2 document

Suppose a bank's ATM machine, which allows users to deposit and withdraw money. Now there is 200 yuan in an account, and both user a and user B have the right to deposit and withdraw money from this a

Bash exercise 17 writing scripts to install the server side of FRP reverse proxy software

Some classic recursion problems

Find the combination number acwing 889 01 sequence meeting conditions

Financial risk control practice -- feature derivation based on time series

Vant Weapp SwipeCell设置多个按钮
随机推荐
MPLS experiment
6-4 search by serial number of linked list
[QT] QT multithreading development qthread
Vant Weapp SwipeCell设置多个按钮
how to understand the “model independent.“
5. Oracle TABLESPACE
求组合数 AcWing 887. 求组合数 III
P2575 master fight
Package webapp or H5 pages into apps
Alibaba established the enterprise digital intelligence service company "Lingyang" to focus on enterprise digital growth
Series of how MySQL works (VIII) 14 figures explain the atomicity of MySQL transactions and the principle of undo logging
Gauss Cancellation acwing 884. Solution d'un système d'équations Xor linéaires par élimination gaussienne
如何正确在CSDN问答进行提问
Vant weave swipecell sets multiple buttons
Sum of two numbers, the numbers in the array are converted to decimal, added, and output inversely
How to answer when you encounter a jet on CSDN?
Vant weapp swippecell set multiple buttons
MPLS experiment
RecyclerView的应用
Redis-01.初识Redis
