{"id":479,"date":"2019-06-17T17:21:03","date_gmt":"2019-06-17T09:21:03","guid":{"rendered":"http:\/\/www.laihp.top\/wordpress\/?p=479"},"modified":"2019-08-26T15:46:45","modified_gmt":"2019-08-26T07:46:45","slug":"%e6%b5%8b%e8%af%95%e7%a6%81ping%e7%9a%84%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%9a%84%e7%a8%b3%e5%ae%9a%e6%80%a7%e5%92%8c%e5%bb%b6%e8%bf%9f-tcpping-tsping-2","status":"publish","type":"post","link":"https:\/\/www.laihp.top\/zqb\/?p=479","title":{"rendered":"\u6d4b\u8bd5\u7981ping\u7684\u670d\u52a1\u5668\u7684\u7a33\u5b9a\u6027\u548c\u5ef6\u8fdf tcpping tsping paping"},"content":{"rendered":"<p>\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"http:\/\/www.laihp.top\/wordpress\/wp-content\/uploads\/2019\/06\/tcping.zip\">tcping<\/a><\/p>\n<p>\u6216\uff1a<a title=\"https:\/\/www.elifulkerson.com\/projects\/tcping.php\" href=\"https:\/\/www.elifulkerson.com\/projects\/tcping.php\">https:\/\/www.elifulkerson.com\/projects\/tcping.php<\/a><\/p>\n<p>windows linux \u90fd\u53ef\u4ee5\u6709<\/p>\n<p>\u4f7f\u7528\u65b9\u5f0f<\/p>\n<p>\u52a0\u7aef\u53e3\u6a21\u5f0f<\/p>\n<p>C:\\Users\\tcping.exe -t ip 22<\/p>\n<hr \/>\n<hr \/>\n<p>\u8fd8\u6709\u4e00\u79cd\u65b9\u6cd5\u662f\u4f7f\u7528paping\u8fdb\u884ctcp\u6d4b\u8bd5\uff1a<\/p>\n<p><span style=\"font-size: 10pt;\">\u53c2\u8003\u4e86\u539f\u6587\uff1a<a href=\"https:\/\/docs.azure.cn\/zh-cn\/articles\/azure-operations-guide\/virtual-network\/aog-virtual-network-tcp-psping-paping-connectivity\">https:\/\/docs.azure.cn\/zh-cn\/articles\/azure-operations-guide\/virtual-network\/aog-virtual-network-tcp-psping-paping-connectivity<\/a><\/span><\/p>\n<h3 id=\"psping--paping-\u4ecb\u7ecd\">PsPing &amp; PaPing \u4ecb\u7ecd<\/h3>\n<p>\u901a\u5e38\uff0c\u6211\u4eec\u6d4b\u8bd5\u6570\u636e\u5305\u80fd\u5426\u901a\u8fc7 IP \u534f\u8bae\u5230\u8fbe\u7279\u5b9a\u4e3b\u673a\u65f6\uff0c\u90fd\u4e60\u60ef\u4f7f\u7528 ping \u547d\u4ee4\u3002\u5de5\u4f5c\u65f6 ping \u5411\u76ee\u6807\u4e3b\u673a\u53d1\u9001\u4e00\u4e2a IMCP Echo \u8bf7\u6c42\u7684\u6570\u636e\u5305\uff0c\u5e76\u7b49\u5f85\u63a5\u6536 Echo \u54cd\u5e94\u6570\u636e\u5305\uff0c\u901a\u8fc7\u54cd\u5e94\u65f6\u95f4\u548c\u6210\u529f\u54cd\u5e94\u7684\u6b21\u6570\u6765\u4f30\u7b97\u4e22\u5305\u7387\u548c\u7f51\u7edc\u65f6\u5ef6\u3002\u4f46\u662f\u5728 Azure \u4e2d\uff0cICMP \u5305\u65e0\u6cd5\u901a\u8fc7\u9632\u706b\u5899\u548c\u8d1f\u8f7d\u5747\u8861\u5668\uff0c\u6240\u4ee5\u4e0d\u80fd\u76f4\u63a5\u4f7f\u7528 ping \u6765\u6d4b\u8bd5 Azure \u4e2d\u7684\u865a\u62df\u673a\u548c\u670d\u52a1\u7684\u8fde\u901a\u6027\uff08VPN \u548c Express Route \u901a\u9053\u4e2d\u7684\u6d41\u91cf\u4e0d\u7ecf\u8fc7\u8d1f\u8f7d\u5747\u8861\u5668\uff0c\u6240\u4ee5\u53ea\u8981\u94fe\u8def\u4e0a\u7684\u9632\u706b\u5899\u5141\u8bb8 ICMP \u5305\u4f20\u9012\uff0cping \u4f9d\u7136\u53ef\u7528\uff09\u3002<\/p>\n<p>\u4e3a\u4e86\u5728 Azure \u4e2d\u8fdb\u884c\u8fde\u901a\u6027\u6d4b\u8bd5\uff0c\u4f8b\u5982\u6d4b\u8bd5 RDP\u3001SSH \u7aef\u53e3\u53ef\u7528\u6027\uff0c\u6216\u8005 HTTP\u3001HTTPS \u670d\u52a1\u7a33\u5b9a\u6027\uff0c\u751a\u81f3\u6d4b\u8bd5\u4ece Azure \u5411\u5916\u90e8\u670d\u52a1\u7684\u8fde\u63a5\uff0c\u6211\u4eec\u90fd\u63a8\u8350\u4f7f\u7528 PsPing \u6216 PaPing\u3002PsPing \u662f\u5fae\u8f6f PSTools \u5de5\u5177\u5957\u4ef6\u4e2d\u7684\u5176\u4e2d\u4e00\u4e2a\u547d\u4ee4\u3002\u9664\u4e86ICMP ping \u6d4b\u8bd5\uff0c\u5b83\u4e3b\u8981\u7528\u6765\u6d4b\u8bd5 TCP \u7aef\u53e3\u7684\u8fde\u901a\u6027\uff0c\u8fd8\u53ef\u4ee5\u6d4b\u8bd5 TCP\/UDP \u7f51\u7edc\u65f6\u5ef6\u548c\u5e26\u5bbd\u3002\u4e0d\u8fc7\uff0c PsPing \u53ea\u80fd\u5728 Windows \u4e2d\u8fd0\u884c\u3002\u5982\u679c\u60a8\u9700\u8981\u5728 Linux \u4e2d\u53d1\u8d77 TCP \u7aef\u53e3\u8fde\u901a\u6027\u548c\u7f51\u8def\u65f6\u5ef6\u7684\u6d4b\u8bd5\uff0c\u53ef\u4ee5\u4f7f\u7528 PaPing \u3002PaPing \u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u5f00\u6e90\u5de5\u5177\u3002\u5b83\u7684\u529f\u80fd\u76f8\u5bf9 PsPing \u800c\u8a00\u66f4\u7b80\u5355\uff0c\u53ea\u652f\u6301 TCP \u7aef\u53e3\u7684\u76f8\u5173\u6d4b\u8bd5\uff0c\u4e0d\u652f\u6301 UDP \u7aef\u53e3\u7684\u6d4b\u8bd5\u3002<\/p>\n<h3 id=\"psping\">PsPing<\/h3>\n<h4 id=\"\u4e0b\u8f7d\u548c\u5b89\u88c5\">\u4e0b\u8f7d\u548c\u5b89\u88c5<\/h4>\n<p>PsPing\u00a0<a href=\"https:\/\/docs.microsoft.com\/zh-cn\/sysinternals\/downloads\/psping\">\u4e0b\u8f7d\u5730\u5740<\/a>\u5305\u542b\u4e86\u5b83\u7684\u8be6\u7ec6\u4f7f\u7528\u65b9\u6cd5\uff0c\u82e5\u6709\u9700\u8981\u53ef\u4ee5\u67e5\u770b\u6b64\u9875\u9762\u4e0a\u7684\u5e2e\u52a9\u4fe1\u606f\u3002\u4e0b\u8f7d\u5b8c\u540e\uff0c\u53ef\u4ee5\u5355\u72ec\u5c06 psping.exe \u547d\u4ee4\u89e3\u538b\u51fa\u6765\u653e\u5728\u4efb\u610f\u8def\u5f84\uff0c\u7136\u540e\u4ece\u547d\u4ee4\u63d0\u793a\u7b26\u6765\u8fd0\u884c\u3002\u5f53\u7136\uff0c\u60a8\u4e5f\u53ef\u4ee5\u5c06\u6574\u4e2a\u538b\u7f29\u5305\u89e3\u538b\u5230\u6307\u5b9a\u7684\u8def\u5f84\u6765\u83b7\u53d6\u538b\u7f29\u5305\u5185\u5b8c\u6574\u7684 PSTools \u5de5\u5177\u5957\u4ef6\u3002<\/p>\n<h4 id=\"\u4f7f\u7528\u65b9\u6cd5\">\u4f7f\u7528\u65b9\u6cd5<\/h4>\n<p>\u6253\u5f00\u547d\u4ee4\u884c\u63d0\u793a\u7b26\u7a97\u53e3\uff0c\u8fdb\u5165\u5230 psping.exe \u6240\u5728\u7684\u76ee\u5f55\uff0c\u5c31\u53ef\u4ee5\u8fd0\u884c PsPing \u4e86\u3002\u5982\u524d\u6587\u6240\u8ff0\uff0cPsPing \u652f\u6301\u7684\u6d4b\u8bd5\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u8fd9\u91cc\u6211\u4eec\u4e3b\u8981\u4ecb\u7ecd\u9488\u5bf9 TCP \u7aef\u53e3\u7684\u8fde\u901a\u6027\u6d4b\u8bd5\u3002\u6700\u7b80\u5355\u7684\u6d4b\u8bd5\u65b9\u6cd5\u5c31\u662f\u76f4\u63a5\u5728 psping.exe \u547d\u4ee4\u540e\u9762\u52a0\u4e0a\u8981\u6d4b\u8bd5\u7684\u4e3b\u673a\u540d\u548c\u7aef\u53e3\uff0c\u7136\u540e\u6267\u884c\u3002\u8fd9\u91cc\u4ee5\u4ece Azure \u5185\u90e8\u6d4b\u8bd5\u00a0www.azure.cn\u00a0\u7684 TCP-80 \u7aef\u53e3\u4e3a\u4f8b\uff0c\u547d\u4ee4\u4e3a<code>psping.exe www.azure.cn:80<\/code>\u3002<\/p>\n<pre class=\"has-inner-focus\" tabindex=\"0\"><code style=\"font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1em; direction: ltr; box-sizing: inherit; border: 0px; padding: 0px; display: block; line-height: 19px;\" data-author-content=\"C:\\Tools&gt;psping www.azure.cn:80 PsPing v2.10 - PsPing - ping, latency, bandwidth measurement utility Copyright (C) 2012-2016 Mark Russinovich Sysinternals - www.sysinternals.com TCP connect to 116.211.251.197:80: 5 iterations (warmup 1) ping test: Connecting to 116.211.251.197:80 (warmup): from 10.91.1.4:51413: 34.69ms Connecting to 116.211.251.197:80: from 10.91.1.4:51414: 29.11ms Connecting to 116.211.251.197:80: from 10.91.1.4:51415: 30.56ms Connecting to 116.211.251.197:80: from 10.91.1.4:51416: 49.02ms Connecting to 116.211.251.197:80: from 10.91.1.4:51417: 43.84ms TCP connect statistics for 116.211.251.197:80: Sent = 4, Received = 4, Lost = 0 (0% loss), Minimum = 29.11ms, Maximum = 49.02ms, Average = 38.13ms \">C:\\Tools&gt;psping www.azure.cn:80\r\n\r\nPsPing v2.10 - PsPing - ping, latency, bandwidth measurement utility\r\nCopyright (C) 2012-2016 Mark Russinovich\r\nSysinternals - www.sysinternals.com\r\n\r\nTCP connect to 116.211.251.197:80:\r\n5 iterations (warmup 1) ping test:\r\nConnecting to 116.211.251.197:80 (warmup): from 10.91.1.4:51413: 34.69ms\r\nConnecting to 116.211.251.197:80: from 10.91.1.4:51414: 29.11ms\r\nConnecting to 116.211.251.197:80: from 10.91.1.4:51415: 30.56ms\r\nConnecting to 116.211.251.197:80: from 10.91.1.4:51416: 49.02ms\r\nConnecting to 116.211.251.197:80: from 10.91.1.4:51417: 43.84ms\r\n\r\nTCP connect statistics for 116.211.251.197:80:\r\n  Sent = 4, Received = 4, Lost = 0 (0% loss),\r\n  Minimum = 29.11ms, Maximum = 49.02ms, Average = 38.13ms\r\n<\/code><\/pre>\n<p>\u6211\u4eec\u53ef\u4ee5\u770b\u5230\uff0cPsPing \u83b7\u53d6\u5230\u00a0<code>www.azure.cn<\/code>\u00a0\u7684IP\u4e3a\u00a0<code>175.25.168.95<\/code>\u3002\u968f\u540e\u8fdb\u884c\u4e86\u4e00\u6b21\u70ed\u8eab\u6d4b\u8bd5\uff0c\u70ed\u8eab\u6d4b\u8bd5\u7684\u76ee\u7684\u5728\u4e8e\u4f7f\u6b63\u5f0f\u7684\u6d4b\u8bd5\u6570\u636e\u66f4\u51c6\u786e\u3002\u6700\u7ec8\u7edf\u8ba1\u7ed3\u679c\u53ea\u8ba1\u7b97 4 \u6b21\u6b63\u5f0f\u6d4b\u8bd5\u6570\u636e\u3002\u5176\u4e2d\uff0c\u7edf\u8ba1\u7ed3\u679c\u7b2c\u4e00\u884c\u5305\u542b\u53d1\u9001\u8bf7\u6c42\u7684\u6b21\u6570\uff0c\u63a5\u6536\u5230\u56de\u5e94\u7684\u6b21\u6570\uff0c\u8fde\u63a5\u4e22\u5931\u7684\u6b21\u6570\u4ee5\u53ca\u4e22\u5931\u767e\u5206\u6bd4\u3002\u7b2c\u4e8c\u884c\u4e3a\u6700\u5c0f\u3001\u6700\u5927\u4ee5\u53ca\u5e73\u5747\u7684\u54cd\u5e94\u65f6\u5ef6\u3002 \u6211\u4eec\u8fd8\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u6dfb\u52a0\u53c2\u6570\u6765\u5b9a\u4e49 PsPing \u8fdb\u884c\u6d4b\u8bd5\u7684\u65b9\u5f0f\u3002\u4ee5\u4e0b\u4e3a PsPing \u8fdb\u884c TCP \u8fde\u63a5\u6d4b\u8bd5\u65f6\u6240\u652f\u6301\u7684\u53c2\u6570\uff1a<\/p>\n<pre class=\"has-inner-focus\" tabindex=\"0\"><code data-author-content=\"-t \u7c7b\u4f3c\u4e8e ICMP \u7684\u957f ping \u6d4b\u8bd5\uff0c\u76f4\u5230\u6309\u4e0b Ctrl+C \u505c\u6b62\u6d4b\u8bd5\uff0c\u5e76\u663e\u793a\u7edf\u8ba1\u7ed3\u679c\uff1b -n \u6307\u5b9a\u6d4b\u8bd5\u6b21\u6570\u3002\u8fd8\u53ef\u4ee5\u6307\u5b9a\u6d4b\u8bd5\u7684\u65f6\u95f4\u957f\u5ea6\uff0c\u4ee5\u79d2\u4e3a\u5355\u4f4d\uff0c\u4f7f\u7528\u65f6\u5728\u6570\u5b57\u540e\u52a0\u4e0a s\uff0c\u4f8b\u5982\u201c10s\u201d\uff1b -i \u6bcf\u6b21\u6d4b\u8bd5\u7684\u95f4\u9694\uff0c\u9ed8\u8ba4\u4e3a 1 \u79d2\u3002\u8fd8\u53ef\u4ee5\u6307\u5b9a\u4e3a 0 \u6765\u8fdb\u884c\u5feb\u901f ping \u6d4b\u8bd5\uff1b -w \u70ed\u8eab\u6b21\u6570\uff0c\u9ed8\u8ba4\u4e3a 1 \u6b21\uff1b -q \u6d4b\u8bd5\u8fc7\u7a0b\u4e2d\u4e0d\u8f93\u51fa\u7ed3\u679c\uff0c\u7ed3\u675f\u540e\u663e\u793a\u7edf\u8ba1\u7ed3\u679c\uff1b -h \u5c06\u65f6\u5ef6\u7ed3\u679c\u7edf\u8ba1\u4e3a\u76f4\u65b9\u56fe\u6253\u5370\uff08\u9ed8\u8ba4\u6253\u5370 20\u884c\uff09\uff0c\u4e5f\u53ef\u4ee5\u6307\u5b9a\u7ed3\u679c\u884c\u6570\uff0c\u6bd4\u5982 -h 10\uff0c\u6307\u5b9a 10 \u884c\uff1b\u53e6\u4e00\u79cd\u4f7f\u7528\u65b9\u6cd5\u662f\u7edf\u8ba1\u81ea\u5b9a\u4e49\u65f6\u5ef6\uff0c\u6bd4\u5982 -h &quot;65,70&quot;\uff0c\u7ed3\u679c\u5c06\u7edf\u8ba1\u65f6\u5ef6\u5206\u522b\u4e3a 65 \u548c 70 \u6beb\u79d2\u7684\u6b21\u6570\uff1b -4 \u5f3a\u5236\u4f7f\u7528 IPv4\uff1b -6 \u5f3a\u5236\u4f7f\u7528 IPv6\uff1b \">-t \u7c7b\u4f3c\u4e8e ICMP \u7684\u957f ping \u6d4b\u8bd5\uff0c\u76f4\u5230\u6309\u4e0b Ctrl+C \u505c\u6b62\u6d4b\u8bd5\uff0c\u5e76\u663e\u793a\u7edf\u8ba1\u7ed3\u679c\uff1b\r\n-n \u6307\u5b9a\u6d4b\u8bd5\u6b21\u6570\u3002\u8fd8\u53ef\u4ee5\u6307\u5b9a\u6d4b\u8bd5\u7684\u65f6\u95f4\u957f\u5ea6\uff0c\u4ee5\u79d2\u4e3a\u5355\u4f4d\uff0c\u4f7f\u7528\u65f6\u5728\u6570\u5b57\u540e\u52a0\u4e0a s\uff0c\u4f8b\u5982\u201c10s\u201d\uff1b\r\n-i \u6bcf\u6b21\u6d4b\u8bd5\u7684\u95f4\u9694\uff0c\u9ed8\u8ba4\u4e3a 1 \u79d2\u3002\u8fd8\u53ef\u4ee5\u6307\u5b9a\u4e3a 0 \u6765\u8fdb\u884c\u5feb\u901f ping \u6d4b\u8bd5\uff1b\r\n-w \u70ed\u8eab\u6b21\u6570\uff0c\u9ed8\u8ba4\u4e3a 1 \u6b21\uff1b\r\n-q \u6d4b\u8bd5\u8fc7\u7a0b\u4e2d\u4e0d\u8f93\u51fa\u7ed3\u679c\uff0c\u7ed3\u675f\u540e\u663e\u793a\u7edf\u8ba1\u7ed3\u679c\uff1b\r\n-h \u5c06\u65f6\u5ef6\u7ed3\u679c\u7edf\u8ba1\u4e3a\u76f4\u65b9\u56fe\u6253\u5370\uff08\u9ed8\u8ba4\u6253\u5370 20\u884c\uff09\uff0c\u4e5f\u53ef\u4ee5\u6307\u5b9a\u7ed3\u679c\u884c\u6570\uff0c\u6bd4\u5982 -h 10\uff0c\u6307\u5b9a 10 \u884c\uff1b\u53e6\u4e00\u79cd\u4f7f\u7528\u65b9\u6cd5\u662f\u7edf\u8ba1\u81ea\u5b9a\u4e49\u65f6\u5ef6\uff0c\u6bd4\u5982 -h \"65,70\"\uff0c\u7ed3\u679c\u5c06\u7edf\u8ba1\u65f6\u5ef6\u5206\u522b\u4e3a 65 \u548c 70 \u6beb\u79d2\u7684\u6b21\u6570\uff1b\r\n-4 \u5f3a\u5236\u4f7f\u7528 IPv4\uff1b\r\n-6 \u5f3a\u5236\u4f7f\u7528 IPv6\uff1b\r\n<\/code><\/pre>\n<p>\u66f4\u591a\u65f6\u5019\uff0c\u6211\u4eec\u6307\u5b9a\u6d4b\u8bd5\u6b21\u6570\uff0c\u4f8b\u5982 500 \u6b21\u30011000 \u6b21\u3002\u5f85\u6d4b\u8bd5\u7ed3\u675f\u540e\u67e5\u770b\u7edf\u8ba1\u7ed3\u679c\uff0c\u6839\u636e\u8fde\u63a5\u6210\u529f\u7387\u548c TCP \u54cd\u5e94\u65f6\u5ef6\u6765\u5224\u65ad\u88ab\u68c0\u6d4b\u670d\u52a1\u7684\u53ef\u7528\u6027\u548c\u7a33\u5b9a\u6027\u3002\u4e0d\u8fc7\uff0c\u7531\u4e8e\u662f\u6d4b\u8bd5 TCP \u8fde\u63a5\uff0c\u6d4b\u8bd5\u65f6\u4e0d\u6392\u9664\u88ab\u6d4b\u8bd5\u670d\u52a1\u6709\u4e00\u5b9a\u7684\u9632\u62a4\u673a\u5236\uff0c\u5bf9\u8fde\u7eed\u3001\u5927\u91cf\u7684 TCP \u8fde\u63a5\u91c7\u53d6\u62d2\u7edd\u670d\u52a1\u6216\u8005\u9650\u5236\u670d\u52a1\uff0c\u5bfc\u81f4\u6d4b\u8bd5\u7ed3\u679c\u770b\u8d77\u6765\u5f88\u69fd\u7cd5\u3002\u8fd9\u9700\u8981\u6d4b\u8bd5\u4eba\u5bf9\u88ab\u6d4b\u8bd5\u670d\u52a1\u6709\u4e00\u5b9a\u7684\u4e86\u89e3\u3002<\/p>\n<p>\u6211\u4eec\u8fd8\u662f\u4ee5\u6d4b\u8bd5\u00a0<code>www.azure.cn<\/code>\u00a0\u4e3a\u4f8b\uff0c\u6d4b\u8bd5 500 \u6b21\u8fde\u63a5\u7684\u547d\u4ee4\u4e3a\u00a0<code>psping.exe -n 500 www.azure.cn:80<\/code><\/p>\n<pre class=\"has-inner-focus\" tabindex=\"0\"><code style=\"font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1em; direction: ltr; box-sizing: inherit; border: 0px; padding: 0px; display: block; line-height: 19px;\" data-author-content=\"C:\\Tools&gt;psping -n 500 www.azure.cn:80 PsPing v2.10 - PsPing - ping, latency, bandwidth measurement utility Copyright (C) 2012-2016 Mark Russinovich Sysinternals - www.sysinternals.com \">C:\\Tools&gt;psping -n 500 www.azure.cn:80\r\n\r\nPsPing v2.10 - PsPing - ping, latency, bandwidth measurement utility\r\nCopyright (C) 2012-2016 Mark Russinovich\r\nSysinternals - www.sysinternals.com\r\n<\/code><\/pre>\n<p>TCP connect to 175.25.168.95:80: 501 iterations (warmup 1) ping test: Connecting to 175.25.168.95:80 (warmup): from 10.91.1.4:51531: 2.28ms Connecting to 175.25.168.95:80: from 10.91.1.4:51532: 1.86ms Connecting to 175.25.168.95:80: from 10.91.1.4:51533: 2.67ms &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. Connecting to 175.25.168.95:80: from 10.91.1.4:52029: 1.90ms Connecting to 175.25.168.95:80: from 10.91.1.4:52030: 2.69ms Connecting to 175.25.168.95:80: from 10.91.1.4:52031: 2.69ms Connecting to 175.25.168.95:80: from 10.91.1.4:52032: 2.39ms<\/p>\n<pre class=\"has-inner-focus\" tabindex=\"0\"><code data-author-content=\"TCP connect statistics for 175.25.168.95:80: Sent = 500, Received = 500, Lost = 0 (0% loss), Minimum = 1.49ms, Maximum = 4.72ms, Average = 2.35ms \">TCP connect statistics for 175.25.168.95:80:\r\n  Sent = 500, Received = 500, Lost = 0 (0% loss),\r\n  Minimum = 1.49ms, Maximum = 4.72ms, Average = 2.35ms\r\n<\/code><\/pre>\n<h3 id=\"paping\">PaPing<\/h3>\n<h4 id=\"\u4e0b\u8f7d\u548c\u5b89\u88c5-1\">\u4e0b\u8f7d\u548c\u5b89\u88c5<\/h4>\n<p>PaPing\u00a0<a href=\"https:\/\/code.google.com\/archive\/p\/paping\/downloads\" data-linktype=\"external\">\u4e0b\u8f7d\u7f51\u5740<\/a>\uff0c\u5176\u4e2d 32 \u4f4d Linux \u5bf9\u5e94\u7684\u538b\u7f29\u5305\u4e3a\u00a0<code>paping_1.5.5_x86_linux.tar.gz<\/code>\uff0c64 \u4f4d\u7684 Linux \u5bf9\u5e94\u7684\u538b\u7f29\u5305\u4e3a\u00a0<code>paping_1.5.5_x86-64_linux.tar.gz<\/code>\u3002\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u76f4\u63a5\u89e3\u538b\u5230\u4efb\u610f\u8def\u5f84\uff0c\u5c31\u53ef\u4ee5\u76f4\u63a5\u6267\u884c\u4e86\u3002<\/p>\n<p>\u4ee5 64 \u4f4d Linux \u4e3a\u4f8b\uff1a<\/p>\n<pre class=\"has-inner-focus\" tabindex=\"0\"><code data-author-content=\"#cd ~ #wget https:\/\/storage.googleapis.com\/google-code-archive-downloads\/v2\/code.google.com\/paping\/paping_1.5.5_x86-64_linux.tar.gz #tar zxvf paping_1.5.5_x86-64_linux.tar.gz \">#cd ~\r\n#wget https:\/\/storage.googleapis.com\/google-code-archive-downloads\/v2\/code.google.com\/paping\/paping_1.5.5_x86-64_linux.tar.gz\r\n#tar zxvf paping_1.5.5_x86-64_linux.tar.gz\r\n<\/code><\/pre>\n<h4 id=\"\u4f7f\u7528\u65b9\u6cd5-1\">\u4f7f\u7528\u65b9\u6cd5<\/h4>\n<p>PaPing \u7684\u4f7f\u7528\u65b9\u6cd5\u4e0e PsPing \u975e\u5e38\u76f8\u4f3c\uff0c\u751a\u81f3\u66f4\u7b80\u5355\uff0c\u529f\u80fd\u66f4\u5355\u4e00\u3002PaPing \u6240\u652f\u6301\u7684\u53c2\u6570\u5982\u4e0b\uff1a<\/p>\n<pre class=\"has-inner-focus\" tabindex=\"0\"><code data-author-content=\"-p, --port N \u6307\u5b9a\u88ab\u6d4b\u8bd5\u670d\u52a1\u7684 TCP \u7aef\u53e3\uff08\u5fc5\u987b\uff09\uff1b --nocolor \u5c4f\u853d\u5f69\u8272\u8f93\u51fa\uff1b -t, --timeout \u6307\u5b9a\u8d85\u65f6\u65f6\u957f\uff0c\u5355\u4f4d\u4e3a\u6beb\u79d2\uff0c\u9ed8\u8ba4\u503c\u4e3a 1000\uff1b -c, --count N \u6307\u5b9a\u6d4b\u8bd5\u6b21\u6570\u3002 \">-p, --port N \u6307\u5b9a\u88ab\u6d4b\u8bd5\u670d\u52a1\u7684 TCP \u7aef\u53e3\uff08\u5fc5\u987b\uff09\uff1b\r\n--nocolor \u5c4f\u853d\u5f69\u8272\u8f93\u51fa\uff1b\r\n-t, --timeout\t\u6307\u5b9a\u8d85\u65f6\u65f6\u957f\uff0c\u5355\u4f4d\u4e3a\u6beb\u79d2\uff0c\u9ed8\u8ba4\u503c\u4e3a 1000\uff1b\r\n-c, --count N\t\u6307\u5b9a\u6d4b\u8bd5\u6b21\u6570\u3002\r\n<\/code><\/pre>\n<p>\u9ed8\u8ba4 PaPing \u7684\u7ed3\u679c\u4f1a\u6839\u636e Shell \u7684\u8272\u5f69\u914d\u7f6e\u8f93\u51fa\u4e0d\u540c\u989c\u8272\u3002\u5982\u679c\u60a8\u5c06\u7ed3\u679c\u901a\u8fc7\u201c&gt;\u201d\u8f93\u51fa\u5230\u6587\u4ef6\uff0c\u5efa\u8bae\u4f7f\u7528\u00a0<code>--nocolor<\/code>\u00a0\u53c2\u6570\u3002\u8fd9\u6837\u8f93\u51fa\u7684\u6587\u4ef6\u4e2d\u5c31\u4e0d\u4f1a\u5305\u542b\u8272\u5f69\u76f8\u5173\u7684\u5b57\u7b26\uff0c\u66f4\u65b9\u4fbf\u540e\u671f\u5904\u7406\u3002<\/p>\n<p>\u540c\u6837\u4ee5\u6d4b\u8bd5 500 \u6b21\u5bf9\u00a0<code>www.azure.cn<\/code>\u00a0\u7684 80 \u7aef\u53e3\u7684 TCP \u8fde\u63a5\u4e3a\u4f8b\uff0c\u8df3\u8f6c\u5230 PaPing \u6240\u5728\u7684\u8def\u5f84\u540e\uff0c\u6267\u884c\u00a0<code>.\/paping -p 80 -c 500 www.azure.cn<\/code>\u3002<\/p>\n<pre class=\"has-inner-focus\" tabindex=\"0\"><code data-author-content=\"[kyle@centos7 ~]$ .\/paping -p 80 -c 500 www.azure.cn paping v1.5.5 - Copyright (c) 2011 Mike Lovell Connecting to 1stcncloud.dtwscachev290.ourwebcdn.com [112.17.28.203] on TCP 80: Connected to 112.17.28.203: time=8.26ms protocol=TCP port=80 Connected to 112.17.28.203: time=7.48ms protocol=TCP port=80 Connected to 112.17.28.203: time=9.62ms protocol=TCP port=80 Connected to 112.17.28.203: time=8.54ms protocol=TCP port=80 .................... Connected to 112.17.28.203: time=9.59ms protocol=TCP port=80 Connected to 112.17.28.203: time=11.79ms protocol=TCP port=80 Connected to 112.17.28.203: time=8.14ms protocol=TCP port=80 Connected to 112.17.28.203: time=10.94ms protocol=TCP port=80 Connected to 112.17.28.203: time=22.35ms protocol=TCP port=80 Connection statistics: Attempted = 500, Connected = 500, Failed = 0 (0.00%) Approximate connection times: Minimum = 6.46ms, Maximum = 25.00ms, Average = 12.40ms \">[kyle@centos7 ~]$ .\/paping -p 80 -c 500 www.azure.cn\r\npaping v1.5.5 - Copyright (c) 2011 Mike Lovell\r\n\r\nConnecting to 1stcncloud.dtwscachev290.ourwebcdn.com [112.17.28.203] on TCP 80:\r\n\r\nConnected to 112.17.28.203: time=8.26ms protocol=TCP port=80\r\nConnected to 112.17.28.203: time=7.48ms protocol=TCP port=80\r\nConnected to 112.17.28.203: time=9.62ms protocol=TCP port=80\r\nConnected to 112.17.28.203: time=8.54ms protocol=TCP port=80\r\n....................\r\n\r\nConnected to 112.17.28.203: time=9.59ms protocol=TCP port=80\r\nConnected to 112.17.28.203: time=11.79ms protocol=TCP port=80\r\nConnected to 112.17.28.203: time=8.14ms protocol=TCP port=80\r\nConnected to 112.17.28.203: time=10.94ms protocol=TCP port=80\r\nConnected to 112.17.28.203: time=22.35ms protocol=TCP port=80\r\n\r\nConnection statistics:\r\n    Attempted = 500, Connected = 500, Failed = 0 (0.00%)\r\nApproximate connection times:\r\n    Minimum = 6.46ms, Maximum = 25.00ms, Average = 12.40ms<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u8f7d\u5730\u5740\uff1atcping \u6216\uff1ahttps:\/\/www.elifulkerson.com\/projects\/tcp &#8230; <a title=\"\u6d4b\u8bd5\u7981ping\u7684\u670d\u52a1\u5668\u7684\u7a33\u5b9a\u6027\u548c\u5ef6\u8fdf tcpping tsping paping\" class=\"read-more\" href=\"https:\/\/www.laihp.top\/zqb\/?p=479\" aria-label=\"\u7ee7\u7eed\u9605\u8bfb\u6d4b\u8bd5\u7981ping\u7684\u670d\u52a1\u5668\u7684\u7a33\u5b9a\u6027\u548c\u5ef6\u8fdf tcpping tsping paping\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-479","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=\/wp\/v2\/posts\/479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=479"}],"version-history":[{"count":7,"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=\/wp\/v2\/posts\/479\/revisions"}],"predecessor-version":[{"id":529,"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=\/wp\/v2\/posts\/479\/revisions\/529"}],"wp:attachment":[{"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}