有些服务器禁止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 间隔(秒)
linux安装tcping
2022年05月04日 690阅读 61 字 0 条评论
有些服务器禁止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 间隔(秒)