Loading... <h2>简介</h2> <code>uPing</code>是一个简单<code>Ping</code>值监测小工具,相对于其他延迟监测工具来说,只有一个<code>py</code>文件非常容易运行部署。本工具经过<code>48</code>小时测试后未发现明显问题,可以显示一些关于线路延迟的信息。这部分数据仅供参考,也许根本就说明不了什么,也就看看吧。 <div data-unique="截图"></div> <h2>截图</h2> <a class="light-link" href="http://www.502435.com/usr/uploads/2020/04/9412c-upping.png" data-fancybox="gallery" data-type="image" data-caption="请输入图片描述"><img title="请输入图片描述" src="http://www.502435.com/usr/uploads/2020/04/9412c-upping.png" alt="请输入图片描述" style=""></a> <strong>时间说明:</strong> <pre><code class="hljs">上午:6点至11点 下午:12点至17点 晚上:18点至23点 半夜:0点至5点 </code></pre> <div data-unique="使用"></div> <h2>使用</h2> <strong>Github地址:</strong><a href="http://github.com/FunctionClub/uPing" target="_blank" rel="noopener noreferrer">http://github.com/FunctionClub/uPing</a> 开个<code>screen</code>,在<code>VPS</code>上挂一天即可。<code>24</code>小时后自动停止。你只需要填写你想<code>Ping</code>什么地址就行。比如在你的美国<code>VPS</code>上运行这个工具,<code>Ping</code>你的上海腾讯云机器,挂个一天,就可以提供<code>24</code>小时内的两个节点间线路<code>Ping</code>值信息。 <strong>1、依赖安装</strong> <pre><code class="hljs cs"><span class="hljs-meta">#Debian/Ubuntu</span> apt-<span class="hljs-keyword">get</span> update apt-<span class="hljs-keyword">get</span> install python wget screen -y <span class="hljs-meta">#CentOS/RHEL</span> yum install screen wget python -y </code></pre> <strong>2、运行脚本</strong> <pre><code class="hljs nginx"><span class="hljs-attribute">screen</span> -S uping wget -N --<span class="hljs-literal">no</span>-check-certificate https://raw.githubusercontent.com/FunctionClub/uPing/master/uping.py python uping.py </code></pre> 关于<code>screen</code>更多用法参考:<a href="http://www.502435.com/511.html" target="_blank" rel="noopener noreferrer">使用screen来实现多任务不断线操作命令</a>。 <strong>文章来源:</strong><a href="https://www.zhujiboke.com/2018/02/1265.html" target="_blank" rel="noopener noreferrer">uPing–一个简单Ping值监测小工具</a> 最后修改:2022 年 08 月 02 日 © 允许规范转载 打赏 赞赏作者 赞 0 如果觉得我的文章对你有用,请随意赞赏