当前位置:网站首页>Use the Paping tool to detect TCP port connectivity
Use the Paping tool to detect TCP port connectivity
2022-07-05 06:44:00 【Dream of finding flowers~~】
List of articles
Tool introduction
Used to deal with TCP Port connectivity test . Usually we test ip Whether it can be used ping command , Test whether the port will be used telnet command . Now you can use paping To replace .
Installation tutorial
Reference resources :https://code.google.com/archive/p/paping/downloads
Use the tutorial
After decompression, it is a binary paping file , Can be executed directly . The help information is as follows :
~]# 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
Case presentation
Yes baidu.com Of 80 Port to do TCP Connect the test , Times: 6. Statistical results can be obtained : Failure success times , Minimum , Maximum , Average delay
If you need to record the timestamp, you can refer to the following command :
~]# paping -p 80 -c 6 www.jd.com | awk '{print strftime("%Y-%m-%d %H:%M:%S",systime())"\t"$0}'
Link reference :https://developer.jdcloud.com/article/1466
边栏推荐
- Game theory acwing 893 Set Nim game
- Cookie、Session、JWT、token四者间的区别与联系
- VLAN experiment
- MPLS experiment
- Inclusion exclusion principle acwing 890 Divisible number
- Volcano 资源预留特性
- ADG5412FBRUZ-RL7应用 双电源模拟开关和多路复用器IC
- There are three kinds of SQL connections: internal connection, external connection and cross connection
- Sum of two numbers, the numbers in the array are converted to decimal, added, and output inversely
- [moviepy] unable to find a solution for exe
猜你喜欢
Redis-01.初识Redis
GDB code debugging
Mutual transformation between two-dimensional array and sparse array (sparse matrix)
Vscode creates its own code template
confidential! Netease employee data analysis internal training course, white whoring! (attach a data package worth 399 yuan)
Inclusion exclusion principle acwing 890 Divisible number
安装OpenCV--conda建立虚拟环境并在jupyter中添加此环境的kernel
Game theory acwing 892 Steps Nim game
Some classic recursion problems
There are three kinds of SQL connections: internal connection, external connection and cross connection
随机推荐
AE tutorial - path growth animation
达梦数据库全部
[Chongqing Guangdong education] 1185t administrative leadership reference test of National Open University in autumn 2018
2022/6/29-日报
Adg5412fbruz-rl7 applies dual power analog switch and multiplexer IC
Configuration method and configuration file of SolidWorks GB profile library
The “mode“ argument must be integer. Received an instance of Object
SolidWorks template and design library are convenient for designers to call
[Gaode map POI stepping pit] amap Placesearch cannot be used
[QT] QT multithreading development qthread
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
H5 模块悬浮拖动效果
求组合数 AcWing 889. 满足条件的01序列
Some classic recursion problems
Alibaba established the enterprise digital intelligence service company "Lingyang" to focus on enterprise digital growth
2048项目实现
UIO driven framework
Redis-02. Redis command
Inclusion exclusion principle acwing 890 Divisible number
Paper reading report