首页 🍬为爱发电

有些服务器禁止ping(例如azure)所以我们需要使用tcp端口来检测服务器延迟。

项目地址https://github.com/jlyo/tcping

安装

git clone https://github.com/jlyo/tcping.git
cd tcping
make install

使用

tcping -p 端口 服务器地址
tcping -p 端口 服务器地址 -c ping次数
tcping -p 端口 服务器地址 -i 间隔(秒)



文章评论