tcping小工具使用

tcping小工具使用说明tcping是一个用来ping某个地址的某个端口是否开放的。下载地址:https://elifulkerson.com/projects/tcping.php安装下载的是一个单独的exe文件,将该文件复制到某个目录下,然后手动指定该exe所在目录或配置环境变量即可使用。使用方法帮助信息:C:\Users\Administrator>tcping————–…

大家好,又见面了,我是你们的朋友全栈君。

说明

tcping是一个用来ping某个地址的某个端口是否开放的。
下载地址:https://elifulkerson.com/projects/tcping.php

安装

下载的是一个单独的exe文件,将该文件复制到某个目录下,然后手动指定该exe所在目录或配置环境变量即可使用。

使用方法

帮助信息:

C:\Users\Administrator>tcping
--------------------------------------------------------------
tcping.exe by Eli Fulkerson
Please see http://www.elifulkerson.com/projects/ for updates.
--------------------------------------------------------------

Usage: tcping [-flags] server-address [server-port]

Usage (full): tcping [-t] [-d] [-i interval] [-n times] [-w ms] [-b n] [-r times] [-s] [-v] [-j] [-js size] [-4] [-6] [-c] [-g count] [-S source_address] [--file] [--tee filename] [-h] [-u] [--post] [--head] [--proxy-port port] [--proxy-server server] [--proxy-credentials username:password] [-f] server-address [server-port]

 -t     : ping continuously until stopped via control-c
 -n 5   : for instance, send 5 pings
 -i 5   : for instance, ping every 5 seconds
 -w 0.5 : for instance, wait 0.5 seconds for a response
 -d     : include date and time on each line
 -b 1   : enable beeps (1 for on-down, 2 for on-up,
                        3 for on-change, 4 for always)
 -r 5   : for instance, relookup the hostname every 5 pings
 -s     : automatically exit on a successful ping
 -v     : print version and exit
 -j     : include jitter, using default rolling average
 -js 5  : include jitter, with a rolling average size of (for instance) 5.
 --tee  : mirror output to a filename specified after '--tee'
 --append : Append to the --tee filename rather than overwriting it
 -4     : prefer ipv4
 -6     : prefer ipv6
 -c     : only show an output line on changed state
 --file : treat the "server-address" as a filename instead, loop through file line by line
          Note: --file is incompatible with options such as -j and -c as it is looping through different targets
          Optionally accepts server-port.  For example, "example.org 443" is valid.
          Alternately, use -p to force a port at command line for everything in the file.
 -g 5   : for instance, give up if we fail 5 times in a row
 -S _X_ : Specify source address _X_.  Source must be a valid IP for the client computer.
 -p _X_ : Alternate method to specify port
 --fqdn : Print domain name on each line if available
 --ansi : Use ANSI color sequences (cygwin)
 --color: Use Windows color sequences

HTTP Options:
 -h     : HTTP mode (use url without http:// for server-address)
 -u     : include target URL on each line
 --post : use POST rather than GET (may avoid caching)
 --head : use HEAD rather than GET
 --proxy-server : specify a proxy server
 --proxy-port   : specify a proxy port
 --proxy-credentials : specify 'Proxy-Authorization: Basic' header in format username:password

Debug Options:
 -f     : force tcping to send at least one byte
 --header : include a header with original args and date.  Implied if using --tee.
 --block  : use a 'blocking' socket to connect.  This prevents -w from working and uses the
            default timeout (as long as 20 seconds in my case).  However it can detect an actively
            refused connection vs a timeout.

        If you don't pass server-port, it defaults to 80.

具体例子:

  • ping 80端口是否通
C:\Users\Administrator>tcping www.baidu.com 80

Probing 115.239.210.27:80/tcp - Port is open - time=24.563ms   --is open
Probing 115.239.210.27:80/tcp - Port is open - time=17.904ms
Probing 115.239.210.27:80/tcp - Port is open - time=22.006ms
Probing 115.239.210.27:80/tcp - Port is open - time=18.062ms

Ping statistics for 115.239.210.27:80
     4 probes sent.
     4 successful, 0 failed.  (0.00% fail)
Approximate trip times in milli-seconds:
     Minimum = 17.904ms, Maximum = 24.563ms, Average = 20.634ms
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/152474.html原文链接:https://javaforall.cn

【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛

【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...

(0)


相关推荐

  • ubuntu16.04怎么改成中文(ubuntu更改语言为英文)

    使用VMwareWorkstation安装64位ubuntu16.04系统,系统默认使用英文,而使用virtualbox安装,可以选择使用简体中文作为系统语言。由于英文水平有限,所以使用简体中文作为系统语言。下面是VMwareWorkstation安装的ubuntu16.04的系统语言由英文改为中文的教程。前前后后折腾的不轻,也许是水平问题吧。注意:里面有一个坑,勾选简体中文的同时…

  • SVN提示update更新成功,但是本地文件却没有更新

    SVN提示update更新成功,但是本地文件却没有更新

    2021年10月20日
  • 51nod官网_51nod题难度

    51nod官网_51nod题难度1396 还是01串基准时间限制:1 秒空间限制:131072 KB分值: 20 难度:3级算法题 收藏 关注给定一个0-1串s,长度为n,下标从0开始,求一个位置k,满足0<=k<=n,并且子串s[0..k-1]中的0的个数与子串s[k..n-1]中1的个数相等。注意:(1)如果k=0,s[0..k-1]

  • pycharm双击无反应_文件双击打不开怎么办

    pycharm双击无反应_文件双击打不开怎么办1、做法:我刚解决这个问题,你下载的应该是官方版的,然后自己加了网上下载的.jar激活成功教程插件,并添加了这个插件的路径到.vmoptions文件。打不开是因为你修改了pycharm路径上的某个文件夹名,导致一开始添加的激活成功教程插件路径改变,你只要在.vmoptions中修改为正确的插件路径即可恢复正常。2、我的.jar路径:JetbrainsCrack-2.7-release-str.jar3、在…

  • js中的表单序列化不会序列化未选中的单选框

    js中的表单序列化不会序列化未选中的单选框

  • python到底是什么类型的语言

    python到底是什么类型的语言写程序方便对做机器学习的人来说非常重要,因为经常需要对模型进行各种各样的修改,这在编译语言里很可能是牵一发而动全身的事情,而Python语言则可以用更少的时间来实现,因此Python语言几乎成为了人工

发表回复

您的电子邮箱地址不会被公开。

关注全栈程序员社区公众号