最近服务器的网速显示异常、以往使用finalshell自动显示。又不想重启服务器。从网上搞了个测速脚本、分享给大家。

下载脚本

wget --no-check-certificate -qO speed.sh 'https://gdshare.yoola.workers.dev/shell/speed.sh' && chmod a+x speed.sh

使用脚本

一、检查自己网卡名称

输入ifconfig

二、使用

#eth0替换成你自己的网卡名称
sh speed.sh eth0

或者编辑脚本vi speed.sh

找到ethn=$1这行、替换成自己网卡例如

ethn='eth0'

版权所有yoola's Blog

本文链接:https://www.yoola.top/pub/id=16

Get in touch with me by Email

转载请注明来源

Last modification:February 5th, 2022 at 04:38 pm