当前位置:网站首页>使用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}'
边栏推荐
- 3.Oracle-控制文件的管理
- Using handler in a new thread
- Markdown syntax
- VLAN experiment
- 论文阅读报告
- June 29, 2022 daily
- [learning] database: MySQL query conditions have functions that lead to index failure. Establish functional indexes
- SolidWorks template and design library are convenient for designers to call
- The route of wechat applet jumps again without triggering onload
- H5 模块悬浮拖动效果
猜你喜欢

Sorting out the latest Android interview points in 2022 to help you easily win the offer - attached is the summary of Android intermediate and advanced interview questions in 2022

Mutual transformation between two-dimensional array and sparse array (sparse matrix)

Inclusion exclusion principle acwing 890 Divisible number

TCP's understanding of three handshakes and four waves

2. Addition and management of Oracle data files

Pycahrm reports an error: indentation error: unindent does not match any outer indentation

Alibaba's new member "Lingyang" officially appeared, led by Peng Xinyu, Alibaba's vice president, and assembled a number of core department technical teams

The problem of Chinese garbled code in the vscode output box can be solved once for life

Configuration method and configuration file of SolidWorks GB profile library
![[2021]GIRAFFE: Representing Scenes as Compositional Generative Neural Feature Fields](/img/65/7fa32cd0005ddaaebacd85c25e0c7e.jpg)
[2021]GIRAFFE: Representing Scenes as Compositional Generative Neural Feature Fields
随机推荐
Alibaba established the enterprise digital intelligence service company "Lingyang" to focus on enterprise digital growth
[wustctf2020] plain_ WP
Vant Weapp SwipeCell設置多個按鈕
June 29, 2022 daily
Game theory acwing 893 Set Nim game
Vant Weapp SwipeCell设置多个按钮
MPLS experiment
Utf8 encoding
在本地搭建一个微服务集群环境,学习自动化部署
our solution
微信小程序路由再次跳转不触发onload
数据库Mysql全部
Vscode creates its own code template
求组合数 AcWing 887. 求组合数 III
Record of problems in ollvm compilation
2048项目实现
【高德地图POI踩坑】AMap.PlaceSearch无法使用
2. Addition and management of Oracle data files
Application of recyclerview
Redis-02. Redis command
